Refactored input filter return values

- Return first-class entities and collections always; these should be based on
  the controller type (REST or RPC).
- Updated metadata map to add REST and RPC entity and collection types, along
  with appropriate metadata.
- Removed logic for seeding links; can all be done via metadata now.
Embed input filter collections in rest/rpc services

- Embedes input filter collections, if they exist, in rest and rpc service
  representations.
CS fixes

- trailing whitespace
Corrected tests based on changes

- Addition of collection types required test changes
Merge branch 'hotfix/embedded-inputfilter'

Input filter collections are now embedded in REST/RPC service representations