Add has_access methods and tests
Check access to template, not study

Fixes #542
Remove has_access methods, add study_id properties
Do study access check in handler
Add tests for study_id properties
Merge pull request #558 from adamrp/metadata_template_has_access-issue-542

Check access to metadata template rather than study on Metadata Summary