fix jshint
add some comments
rename controllers with -ctrl.js
add crud-base.js
more renames and comments, mimicking #544