Switching from Rails engine to app

This includes TermsController and spec tests, making it functionaly
equivilant to LcshSuggest.