Proper rendering and parsing for attr props

* Support for {required} in category attributes
* Support for {immutable} in category attributes
* Updated unit tests
Merge pull request #69 from arax/attr_fix

Proper rendering and parsing for attr props