Partial implementation of @ngdoc function commenting. Removed legacy code from nutt.app.js.