Updated plain rendering for resources

* More flexible
* Less complicated templates
Fixed formatting and storage
Fix for non-existent mixins
Merge pull request #70 from arax/output-rendering

Output rendering