Remove duplicated code between controller and directive
Revert "Update AngularJS from 1.1.4 to 1.1.5"

This reverts commit b8f7bbc9ae58ab6d5f39470c8752ecb4471ba975, because
of ngIf conflict between ng-grid and core.
Refactor overriding closures for json

Also partially restangularize /contribute/questionnaire
Update Restangular to latest version