(refactor) Language controller cleanup

Commits, push, etc. are now attached to $scope.data, and $scope.data = LanguageData. 
This replaces about 10 lines of code.