Closure annotations - STALE!

ready for review.. only minor polish remains
---
this PR adds and corrects closure annotations and turns on compiler flags so that we get basic type checking during compilation of angular.js