Model & test cleanup
Upgrading Casper
Removing console.log
Added example to run a specific integration test to gruntfile

No issue
Merge pull request #3332 from javorszky/add-integration-test-example

Added example to run a specific integration test to gruntfile
switched parent_id for parent

fixes #3333
Replaces then(null, done) with .catch(done), OCD on blank lines

No issue
Merge pull request #3335 from ErisDS/issue-3333

switched parent_id for parent
Larger default gravatar images
Merge pull request #3334 from JohnONolan/BIGGER

Larger default gravatar images
Merge pull request #3336 from javorszky/fix-catches-in-tests

Replaces then(null, done) with .catch(done), OCD on blank lines
Added /roles/ API endpoint

Closes #3196

* adds `/roles/` endpoint
* is given the current user as context
* wraps everything in a canthis.browse.role
* gets all the available roles (should "Owner" be filtered out?)
* optional parameter: `permission=assign`. Gets all roles authenticated user could assign
* if we're not signed in, gives a "please sign in" (standard) error
* if we're signed in, but user is not in the context, gives a "there was no user in the context" error
* if the user is an "Author", gives a "there are no available roles to assign" error
* updated `when.js` to version `3.4.1`. Needed because of the `when.filter` call
* added extra fixtures to `permissions.json`. Might need a migration.

Caveats:

* there are no tests
* for some reason the setup functional test was failing for me locally