[#204] Fix Mongo OAuth2 adapter submission

- If no DSN is provided (i.e., the default will be used), the
  AuthenticationModel was not receiving a DSN in the payload, and thus not
  creating an AuthenticationEntity. The model now checks for "dsn_type" in the
  payload, which is guaranteed to be present for all OAuth2 types.

- Additionally, if no DSN is present, we provide a sane default.
Merge branch 'hotfix/204'

Close #204
[#172] Ensure deleting Mongo OAuth2 works

- Deletion was not working previously; it was not deleting the
  zf-oauth2.mongo key.
[#172] Fix conditionals declaration

- Bad conditionals declaration meant that toggle defaults were not being
  recognized. Fixing them allows edit form/cancel actions to work.
Rebuilt UI distribution
Merge branch 'hotfix/172'

Close #172
[#196] Always render collections for admin APIs

- Adds a route listener to set the `render_collections` flag of the Hal
  plugin to `true` if an admin service is detected.
CS fixes (includes)
Merge branch 'hotfix/196'

Close #196
[#190] Allow -1 as page_size value

- Allows -1 as a page size value, to allow disabling pagination.
Merge branch 'hotfix/190'

Close #190
Resolves #210 by correcting the dead link
Allow defining DB adapter driver options

- Adds to the DB adapter input filter a validator for driver options
- Adds UI elements to the admin:
  - For new/edit screens, a collapse with the ability to add and remove option
    key/value pairs
  - For the view screen, a collapse with the ability to view options
[#212] Rebuilt UI distribution
Merge branch 'feature/db-options'

Close #212
Merge pull request #211 from jguittard/master

Resolves #210 by correcting the dead link

Conflicts:
	asset/dist/zf-apigility-admin/js/app.js
[#211] Rebuilt UI distribution
Merge branch 'hotfix/211'

Close #211
Revise promise chains

- `.then()` statements should not define _both_ a success _and_ an error
  handler; in the case of the success handler failing, the error handler will
  never be invoked. Additionally, it's considered better to put your error
  handlers towards the end of your chain; ideally, use constructs such as
  `.catch()` or `.done()`, depending on the promise implementation.
- Since we're using `$q` from angular, altered all promise chains with error
  handlers to use `.catch()` to define error handlers.
- Also normalized all promise invocations:
  - inline functions are pushed onto the next line
  - inline functions never define their name (no longer necessary now that we're
    using `.catch()`

Hoping this will address #175.
Rebuilt UI distribution