Cleaning up attribute parser validation functions
Cleaning up attribute parser validation functions

Fixed some styling, comments, and minor logic on attribute parser
validation functions.

dimagi/javarosa,dimagi/javarosa,dimagi/javarosa