Major refactor to prepare for new API

Fix URL construction issues in controller, views and ajax. Use Rails URL helpers.

Add language param to ajax-search.js and input-manager.js to get the language dropdown to work.

Set cache to true in ajax.js to get rid of the "_" timestamp parameter that was breaking VCR.

Get pagination info from API response headers

Properly rescue Bad::Request and NotFound errors

Use Rails Time format helpers to format the updated at info

Updated views to reflect new API structure (incomplete)

Updated specs and cassettes
Merge Ans's changes
Check for coordinates using key?