(Issue Hilary#303) Autosuggest for users and groups

* Changed general searches to use 'resourceTypes' param
* Changed autosuggest module to use 'data' param in $.getJSON
* Made auto-suggest for topnav search use includeIndirect=false
* Minor code-style house-cleaning
* Changed autosuggest for topnav to use $.ajax 'data' param
(Issue Hilary#303) Fixed up permissions and participants templates to account for both user and group objects
Merge pull request #2578 from mrvisser/issue-hilary-303

(Issue Hilary#303) Autosuggest for users and groups