Fix bad accesses and bad arguments.
Fixed example API hasScope reference
Fixed tokeninfo
Update DefaultAlgorithm.php

Prevent edge-case whereby, if the majority of `base64_encode($bytes)` consists of `/` or `+` characters, the resulting key will be shorter and less unpredictable (due to a smaller keyspace) than anticipated.

As a result, the `$len * 2` hack has been removed. Although it is highly probable that `$len * 2` will stop most edge cases from occurring, it does not actually guarantee the end result will be at least 40 characters long.
Merge pull request #273 from sarciszewski/patch-1

Make Util/KeyAlgorithm/DefaultAlgorithm guarantee $len bytes of output even in edge cases.
Fix API CS.
The `create` method returns void.
Fix API CS.
Merge pull request #275 from Hywan/cs

Fix API CS.
CS fixes
Merge pull request #276 from GrahamCampbell/cs

CS Fixes
Merge pull request #271 from inverse/example-fix

Example fix
Merge pull request #269 from Hywan/fix_example_api

Fix bad accesses and bad arguments
Removed an extra new line
Merge pull request #277 from GrahamCampbell/patch-1

Removed an extra new line
Adding coverage to ghpages
Fixes for .travis.yml
Fix column declarations and references so that foreign keys and references work.
Update init.php
Prevent duplicate session in auth code grant

The session already exists in the database, so we don't need to save it again. Doing so results in the session used for the auth code hanging around in the database with nothing associated to it, while the access token is associated to a new session caused by the `save()` method creating a duplicate. Fixes #266.