use the search condition on the new Permission model
check template permission non-superadmin user
cleaner DRY check
add survey permission to users from a usergroup
Merge pull request #131 from cuali/checktemplatepermission205

Check template permission in 2.05