Fix sign up not setting user on session

No issue found

- Grab user out of api response from users[0]
Merge pull request #2766 from jgable/fixRegister

Fix sign up not setting user on session
Refactor API arguments

closes #2610, refs #2697

- cleanup API index.js, and add docs
- all API methods take consistent arguments: object & options
- browse, read, destroy take options, edit and add take object and options
- the context is passed as part of options, meaning no more .call
  everywhere
- destroy expects an object, rather than an id all the way down to the model layer
- route params such as :id, :slug, and :key are passed as an option & used
  to perform reads, updates and deletes where possible - settings / themes
  may need work here still
- HTTP posts api can find a post by slug
- Add API utils for checkData
Merge pull request #2732 from ErisDS/issue-2610

Cleanup & Refactor API option names
Corrected link to user profile settings

closes #2745
- Added link
Validate user URL input to ensure protocol is present

closes #1623
- added protocol validation to isURL on user settings validator.
- added placeholder URL to user profile template
- ref: https://github.com/sethlilly/Vapor/issues/10
- ref: https://github.com/oswaldoacauan/ghostium/issues/38
Improve signin

Ref #2413

- Remove fixture and use actual API
- Store and send down actual logged in user data
- Refactor isLoggedIn to use computed property on application
- After signin, update user data in dependency container
- Add CSRF to all routes and controllers via initializer
- Update authenticated route to check for user.isLoggedIn
- Add notifications for signin error
- Add notifications.showAPIError helper
- Add plumbing for refreshless signup to doSignUp in admin controller
Correct behaviour for trailing slashes

fixes #2741
- Extend HistoryLocation
- Add trailing slash to path
Add /content redirect to Ember admin.

Closes #2746
- Adds content route to router
- Content route transitions to posts route in the beforeModel hook.
Added fade-in to ember settings panes

Closes #2749
- Add fade-in class to settings panes headers and contents
Merge pull request #2734 from shindakun/userurl

Validate user URL input to ensure protocol is present
Merge pull request #2772 from shindakun/profilelink

Corrected link to user profile settings
Merge pull request #2765 from novaugust/ember-content-redirect

Add /content redirect to Ember admin.
Merge pull request #2771 from halfdan/2741-trailing-slashes

Correct behaviour for trailing slashes
Merge pull request #2764 from jgable/emberSignin

Improve signin
Merge pull request #2769 from novaugust/ember-settings-fade

Added fade-in to ember settings panes
Move debug page from /settings/debug to /debug

closes #2743
- remove settings/debug route and associated files
- reimplementation at debug route
Merge pull request #2762 from fabfou/fix-issue-2743
Modifying "posts" fixture to match the new API data structure

closes #2415
- data now match the new Posts API data structure
- has enough entries to allow for scrolling
- also including the generator template (as a txt file) used in json-generator.com
Merge pull request #2782 from morficus/master

updating fixtures for posts data