chore(build): refactor build scripts in prepare/publish phase

Refactored all scripts so that they are divided into a `prepare`
and a `publish` phase. By this we can build, test, tag, commit
everything first. Only if all of this is ok we start pushing
to Github. By this we keep Github consistent even in error cases.

Extracted include script `/scripts/utils.inc`:
- parse and validate named arguments in the style
  `--name=value`
- proxy git command and deactivate `git push` based on
  command option `--git_push_dry_run=true`
  (will be inherited to child scripts)
- enable/disable bash debug mode by command option
  `--verbose=true`
- dispatch to functions based on command option
  `--action=...`
- helper functions for dealing with json files
chore(build): bugfixes to build scripts on Jenkins.
docs(tutorial): do not recommend global install of Karma

Closes #5498
chore(build): bugfixes to build scripts on Jenkins
docs(guide/i18n): fix a typo

Closes #5651
docs(forms): show directive name instead of link path
chore(inputSpec): fixed typo
docs(form): changed capitalization in CSS classes section

In order to improve readability from "Is set" (confused on my screen as 'Ls set') updated the
capitalization describing the setting of 4 CSS classes.

Closes #5642
docs(tutorial/step-12): replaced a missing apostrophe and fixed grammar errors

Fixed a missing apostrophe and some grammar in the Animating 'ngClass' with JavaScript section
docs($compile): fix a typo

Closes #5639
refactor(input): wrapped validation logic in helper function

Closes #5643
fix(ngMock window.inject): Remove Error 'stack' property changes

Recent browsers, particularly PhantomJS 1.9.2 and Safari 7.0
treat the stack property as non-configurable and unwritable.

Because window.inject captures the stack at the time of the inject,
and attempts to insert it into a captured throw from the injected
function by modifying e.stack, a meaningless error message and
stack is thrown instead.

This commit inserts two tests exposing the problem, and implements
a proposed solution that builds a new error-like object that mimicks
the old Error object, but with the additional stack information, and
captures the toString function from the Error object prototype.  This
appears to work for the browsers suppoerted here.
test(ngMock): fix the tests to not use global msie

My bad when merging 7e916455b36dc9ca4d4afc1e44cade90006d00e3.

These tests are run with compiled Angular and then the msie is not defined.