Proper rendering and parsing for attr props

* Support for {required} in category attributes
* Support for {immutable} in category attributes
* Updated unit tests