docs(guide/overview): fix typo

Closes #4188
docs($timeout): add a $timeout example

The original example is by gxlcl.

Closes #4180
docs(mocks): fix syntax error in example

Closes #4183
fix(ngdoc): add default values to ngdoc template

ngDoc did not add default value to template, even though it was present
in the documentation. This change adds the default value to the
description column in the parameters table.

Closes #3950
fix($animate): ensure transition-property is not changed when only keyframe animations are in use

Closes #3933
docs(minerr): add note about ngRoute in injector/modulerr
fix($location): re-assign location after BFCache back

In the Android browser, the BFCache maintains
the state of JavaScript applications even when
navigating to another app, so that going
forward and back, to and from an application
is very fast.

Unfortunately, this can have undesired side
effects. In this instance, the location
variable was holding a reference to a stale
window.location, and was throwing errors
when going back to an Angular app after
browsing to another site.

This fix makes sure that location.url()
includes a check to make sure that location
is referencing the current window.location.

Closes #4044
docs(tutorial/step0): fix minor typo

Closes #4154
docs($http): update grammar in comments

Closes #4186
docs($route): reloadOnSearch affects hash fragment changes

reloadOnSearch also affects reloads due to $location.hash() changes
docs(angular.copy): add an example with the two possible arguments

Closes #4179
docs(guide): describe directive replace:false

Previous version stated `replace:false` will append template to element.
Improve description to accurately state that template will _replace_ the
contents of the current element.

Closes #2235, #4166
chore(package.json): update npm packages

Some of node dependencies have much newer versions; one of them is Lo-Dash
that has recently released the 2.0.0 version bringing in new useful methods.
fix($compile): link parents before traversing

How did compiling a templateUrl (async) directive with `replace:true` work before this commit?
1/ apply all directives with higher priority than the templateUrl directive
2/ partially apply the templateUrl directive (create `beforeTemplateNodeLinkFn`)
3/ fetch the template
4/ apply second part of the templateUrl directive on the fetched template
(`afterTemplateNodeLinkFn`)

That is, the templateUrl directive is basically split into two parts (two `nodeLinkFn` functions),
which has to be both applied.

Normally we compose linking functions (`nodeLinkFn`) using continuation - calling the linking
function of a parent element, passing the linking function of the child elements as an argument. The
parent linking function then does:
1/ execute its pre-link functions
2/ call the child elements linking function (traverse)
3/ execute its post-link functions

Now, we have two linking functions for the same DOM element level (because the templateUrl directive
has been split).

There has been multiple issues because of the order of these two linking functions (creating
controller before setting up scope locals, running linking functions before instantiating
controller, etc.). It is easy to fix one use case, but it breaks some other use case. It is hard to
decide what is the "correct" order of these two linking functions as they are essentially on the
same level.

Running them side-by-side screws up pre/post linking functions for the high priority directives
(those executed before the templateUrl directive). It runs post-linking functions before traversing:
```js
beforeTemplateNodeLinkFn(null); // do not travers
afterTemplateNodeLinkFn(afterTemplateChildLinkFn);
```

Composing them (in any order) screws up the order of post-linking functions. We could fix this by
having post-linking functions to execute in reverse order (from the lowest priority to the highest)
which might actually make a sense.

**My solution is to remove this splitting.** This commit removes the `beforeTemplateNodeLinkFn`. The
first run (before we have the template) only schedules fetching the template. The rest (creating
scope locals, instantiating a controller, linking functions, etc) is done when processing the
directive again (in the context of the already fetched template; this is the cloned
`derivedSyncDirective`).

We still need to pass-through the linking functions of the higher priority directives (those
executed before the templateUrl directive), that's why I added `preLinkFns` and `postLinkFns`
arguments to `applyDirectivesToNode`.

This also changes the "$compile transclude should make the result of a transclusion available to the
parent directive in post- linking phase (templateUrl)" unit test. It was testing that a parent
directive can see the content of transclusion in its pre-link function. That is IMHO wrong (as the
`ngTransclude` directive inserts the translusion in its linking function). This test was only passing because of
c173ca412878d537b18df01f39e400ea48a4b398, which changed the behavior of the compiler to traverse
before executing the parent linking function. That was wrong and also caused the #3792 issue, which
this change fixes.

Closes #3792
Closes #3923
Closes #3935
Closes #3927
fix(ngTransclude): detect ngTranslude usage without a transclusion directive

Closes #3759
docs($injector): Reword `fn` param docs and link to DI information
fix(docs.js): handle empty deps array for plunkr/jsfiddle

Change return value of docsApp.serviceFactory.prepareDefaultAppModule
to include empty array `[]` instead of array containing one empty
string element `['']`.

This will correct script.js for simple plunkr/jsfiddle examples such
as [ngChecked](http://docs.angularjs.org/api/ng.directive:ngChecked).
Merge branch 'master' of github.com:angular/angular.js

* 'master' of github.com:angular/angular.js:
  fix(docs.js): handle empty deps array for plunkr/jsfiddle
  docs($injector): Reword `fn` param docs and link to DI information
  fix(ngTransclude): detect ngTranslude usage without a transclusion directive
  fix($compile): link parents before traversing
  chore(package.json): update npm packages
  docs(guide): describe directive replace:false
  docs(angular.copy): add an example with the two possible arguments
  docs($route): reloadOnSearch affects hash fragment changes
  docs($http): update grammar in comments
  docs(tutorial/step0): fix minor typo
  fix($location): re-assign location after BFCache back
  docs(minerr): add note about ngRoute in injector/modulerr
  fix($animate): ensure transition-property is not changed when only keyframe animations are in use
  fix(ngdoc): add default values to ngdoc template
  docs(mocks): fix syntax error in example
  docs($timeout): add a $timeout example
  docs(guide/overview): fix typo

Conflicts:
	src/ng/http.js