Handle invalid masked setups more gracefully.

If the mask widget was not set up correctly, throw an Error with a hint.
fix(select2) Can now set ngModel value to simple objects
Added test for [PR 370](https://github.com/angular-ui/angular-ui/pull/370)
Merge pull request #401 from joseym/master

fixing thrown error
Update modules/directives/codemirror/codemirror.js

Using MDN-documented version of type checking as per #303 discussion
watching all [eventSources]
updated comments
Update modules/directives/codemirror/codemirror.js

Fixed my stupid accidental online commit.
fix(select2): Fixes #409 - Updates model upon init when in tagging mode
chore(modal) removed modal directive once and for all
Merge pull request #405 from joshkurz/calendar

Re-Wrote Calendar to Watch All Event Sources
fix(map): Closed #390 - Changed elm.trigger() to elm.triggerHandler()
Merge branch 'master' of git://github.com/sja/angular-ui

* 'master' of git://github.com/sja/angular-ui:
  Added test for [PR 370](https://github.com/angular-ui/angular-ui/pull/370)
  Handle invalid masked setups more gracefully.
chore(mask): Made petes suggested changes to #370
tests(select2): Fleshing out and fixing a large number of Select2 tests
Merge branch 'select2'

* select2:
  tests(select2): Fleshing out and fixing a large number of Select2 tests
  fix(select2): Fixes #409 - Updates model upon init when in tagging mode
  fix(select2) Can now set ngModel value to simple objects
[FIX] Unit tests
[FT] Minor changes
[FT] Simplify options tests
[FT] Add @ProLoser uiRefresh