Added a test case where  comes first and attributes are ignored. Fixed the issue by pre-sorting the object keys.
Fixed an issue with nesting and arguments following the nested tag.
Fixed tabs for spaces to be consistent with master.
Merge pull request #4 from yzen/master

Fixed attribute handling during parse.