refactor file structure and app namespaces
add jshint grunt task and fix warnings
add js test for controller and jslint for specs