Added helper function to get resource as template.
Merge branch 'master' of https://github.com/mbanzon/resman
Added doc comment.