Add karma unit tests. Rename app. Fix jshint issues.