refact(Angular.js) remove unused functions

This removes the functions size() and isLeafNode().

Closes #9682
docs(guide/introduction): remove ambiguous "code-behind" jargon

This commit tries to remove the jargon and explain in plain English what
it means to add "code-behind" via a directive.

Closes #9684
chore(jscs): alphabetize jscs rules
style(*): add disallowTrailingComma rule for objects and arrays

Closes #9685
style(*): add validateParameterSeparator rule to jscs

Closes #9685
style(*): add disallowSpacesInsideParentheses rule to jscs

Closes #9685
docs(tutorial/step-7) - correct a url

Closes #9688
docs(tutorial/step-11): remove excess words

Closes #9690
fix(ngMock): $httpBackend should match data containing Date objects correctly

If a response or expectation contained a date object then `$httpBackend.expect`
was not matching correctly.

This commit encodes then decodes the object being matched to ensure consistency.

Closes #5127
docs(guide/location): fix a typo

Closes #9693
docs(error/$injector/modulerr): add info about not monkey-patching `ng`

Closes #7709
Closes #9692
chore(docs): configure the base path for protractor tests in examples

Updates to dgeni-packages 0.10.5 which supports this configurability.
Change the dgeni config and protractor config so that we can have protractor
tests that are hosted outside the build/docs folder.

Provides support for https://github.com/angular/angular.js/pull/9557#discussion_r18977324
chore(docs): fix path to docs-app e2e tests

These tests are not generated by dgeni and so needed to have the paths
to the pages updated manually.

Closes #9680
chore(package.json): add cheerio dependency

It's tinier than jsdom, and seems to work okay for generating the fixtures.
chore(tests): implement e2e test harness outside of docs app

Included:

- A sample test fixture
- A sample test
- Server middleware to serve the E2E harness
- Convenient test helpers to simplify loading the right fixture

Closes #9557
Closes #9527