Fix RouteBuilder::scope()

As with plugin() and prefix(), scope() should append args and extend the
current scope. This was totally broken before.
Fix remaining PHPCS errors.
Don't allow PHPCS to fail anymore.
Fix new coding standards errors.
Merge pull request #3916 from markstory/3.0-api-docs

3.0 api docs