Fix collapse buttons

- Angular and/or jquery do not like identifiers that contain `.` characters.
  Updated identifier generation to use only `_` and `-`.
Ensure input filter forms for all services work

- Since we are now creating identifiers based on service name, we need separate
  partials for REST vs RPC services.
Merge branch 'hotfix/collapse-buttons'

Fix issues with:

- collapse "wrench" buttons were not working
- RPC services could not edit input filters