Refactored the typeahead styles to be sass like. Refactored the references controller test