Merge pull request #3345 from novaugust/model-relationships

Add relationships to client models
Extend adapter to support automatic includes

Closes #3325
- Add Roles model and add hasMany roles to User model.
- Add EmbeddedRelationAdapter that will automatically include
  hasMany relations in calls to the API.
- UserAdapter and PostAdapter now extend EmbeddedRelationAdapter
  and all explicit includes from store.find() have been removed.
Remove inline script from default.hbs

no issue
- added config values as data attributes
- removed inline script
- removed current-user.js
Pagination for Users Management screen

closes #3222
- implementing server-side pagination for /users API
- passing /users?limit=none will return all users
- passing /users?status=invited will filter base on user status
- creating 3 mixins (route, controller and view) to keep pagination logic DRY
- updating route, controller and view for Posts to use new mixing
- implementing infinite scrolling for Users Management screen (using new mixins)
- Users Management screen displays all invited users, but paginates active users
Fix check for using default cover image

Closes #3348
- Cover attribute is a string so its typeof will always return
  string. Switch check to Ember.isBlank.
Merge pull request #3349 from jaswilli/issue-3348

Fix check for using default cover image
Merge pull request #3311 from javorszky/iss3196

Added /roles/ API endpoint
Merge pull request #3337 from morficus/issue-3222

Pagination on the Users Management screen
Merge pull request #3346 from jaswilli/issue-3325

Extend adapter to support automatic includes
Only load posts once on navigating to content tab

No Issue
- Loading posts from the API should not be necessary in PostsIndexRoute
  because its parent resource (PostsRoute) pre-loads the store.
  Changing the store.find to store.all gets rid of a duplicate
  network request to load all posts.
Merge pull request #3351 from sebgie/no-inline-script

Remove inline script from default.hbs
Merge pull request #3331 from ErisDS/issue-3076

Author pages
Correct markup for the PSM author dropdown
Implements User Role Label

Closes #3287.
Add edit roles

refs #3087
- added ability to edit user/roles relation
- user is not allowed assign roles to himself
- only one role per user is supported atm
- added tests
Trim version number in RSS feeds
Merge pull request #3353 from IanMitchell/master

Implements User Role Label
Merge pull request #3355 from JohnONolan/trim

Trim version number in RSS feeds
Hide Settings Tab if Author

Implements #3293. Currently, we don’t have a permission system on the
client side, so this relies on a hardcoded “author” string.
updated Ember to latest release