Correct data types and minor bug fixes

* replace scala.Dynamic with js.Dynamic
* change types of DDO function from js.FunctionX to js.Function
* fix behaviour in Directive.initialize()
Merge pull request #3 from jokade/directives

Implement basic bindings for directives
Fixes #5: add missing functions to trait Location
Fixes #6: add missing functions to Scope
Add bindings to AngularJS core services:

* $anchorScroll
* $amimate
* $cacheFactory
* $compile
* $document
* $interval
* $parse
* $timeout
* $window
Quote 'when' to avoid compiler warnings
Merge remote-tracking branch 'upstream/master'
Merge branch 'coreServices'