Replaced views/controllers to incorporate UI-Router (see description)

-Added UI-Router to /libraries
-Nested ui-views in index/search view/search.results/search.details
-controllers combined into config.js
-some tweaks to media to improve form-group padding at small sizes