feat(currencyFilter): add fractionSize as optional parameter

currencyFilter accepts number of decimals to round off to

Closes #3642
Closes #3461
Closes #3642
Closes #7922
Added caveat to attr() function of jqLite

attr() does not support functions as parameters.
feat(jqLite): add private jqDocumentComplete function

This helper function can be used to execute a callback only after the
document has completed its loading, i.e. after the `load` event fires
or immediately if the page has already loaded and
`document.readyState === 'complete'`.
feat($anchorScroll): support a configurable vertical scroll offset

Add support for a configurable vertical scroll offset to `$anchorScroll`.

The offset can be defined by a specific number of pixels, a callback function
that returns the number of pixels on demand or a jqLite/JQuery wrapped DOM
element whose height and position are used if it has fixed position.

The offset algorithm takes into account items that are near the bottom of
the page preventing over-zealous offset correction.

Closes #9368
Closes #2070
Closes #9360
chore(docs): apply the anchorScroll offset feature to the docs app

Closes #9360
docs(guide/unit-testing): use whitespace to improve readability

☆.。.：・゜☆ Merci (◜௰◝) ☆.。.：・゜☆

Closes #9572
refactor($interpolate): cleanup switch statement, curlies unnecessary

Closes #9530
fix($parse): stabilize one-time literal expressions correctly

Change `oneTimeLiteralWatchDelegate` to use the last value in the
digest cycle to check if the literal value is stable
chore(jqLite): remove leftover attachEvent/detachEvent from tests
fix($browser): account for IE deserializing history.state on each read

IE 10-11+ deserialize history.state on every read, causing simple comparisons
against history.state always return false. Account for that caching
`history.state` on every hashchange or popstate event.

Also:
1. Prevent firing onUrlChange callbacks twice if both popstate and hashchange
event were fired.
2. Fix the issue of routes sometimes not firing the URL change in all browsers.

Closes #9587
Fixes #9545
refactor($animate): use $animate.$$setClassImmediately to save code
refactor($animate): clean up core $animate code
docs($compile): tiny grammar correction

Closes #9590
feat($animate): allow $animate to pass custom styles into animations

$animate now supports an optional parameter which provides CSS styling
which will be provided into the CSS-based animations as well as any
custom animation functions. Once the animation is complete then the
styles will be applied directly to the element. If no animation is
detected or the `ngAnimate` module is not active then the styles
will be applied immediately.

BREAKING CHANGE: staggering animations that use transitions will now
always block the transition from starting (via `transition: 0s none`)
up until the stagger step kicks in. The former behaviour was that the
block was removed as soon as the pending class was added. This fix
allows for styles to be applied in the pending class without causing
an animation to trigger prematurely.
feat($animate): introduce the $animate.animate() method