Fixes stickiness issues with content-negotiation screen

- Ensures caching of selectors
- Ensures state is refreshed after any selectors are removed
Fixed stickiness in REST services screen

- Implemented service-level caching in ApiRepository.
- Added refreshApi() method to controller to refresh the API and run a callback
  on completion.
Removed console.log statements
Resolved stickiness issues with RPC screens

- Pushed refreshApi into ApiRepository; allows re-use.
- Removed $timeout dependency from both controllers; no longer used.
Fixed issue in requiresAuthorizations

- If the service does not have authorizations defined, errors were cropping up
  due to accessing undefined properties. Doing some defensive checks before
  access now.
Cancel edit mode on save

- saving documentation or fields now refreshes state and leaves edit mode.
Rebuilt distribution
Merge branch 'hotfix/ui-stickiness'

Fixes a number of "stickiness" issues in the UI, whereby screens were not
refreshing to show changes such as additions or deletions. Additionally, should
address some observed performance lag when transitioning between states (such as
collapse/expand), as most such actions will now use cached values.

Finally, all save commands now result in leaving edit mode.