added pgsearch to api model
fixed bug where average_score was nil (now it populates with random numbers)
added pgsearch migration table
tried to play with css to make navbar less annoying
deleted initial attempt for ajax with search
migrationf ile created for pg_search_documents