[1.2] Add unit test for ui-view compilation

This adds a test that ensures that directives like ng-class are compiled against the ui-view element and update correctly. It fails with the current angular-1.2 branch, but succeeds in the PR #553 (biased much?). I will try and get the test working with the current branch, though.

This issue has been brought up in https://github.com/angular-ui/ui-router/issues/320#issuecomment-25868169, #514, #621 and #662.

It also updates the angular libraries to the stable 1.2 release, which I imagine will be the minimum supported version.