Added support for Template Restriction settings

The SDK now supports all restrictions functions.

* Get template restrictions
* Update template restrictions
Merge branch 'develop'