Zip search

This creates an endpoint for a new widget that will search for a clients locations by City/State, or Zip.

After merge/deploy we'll need to fire off this rake task to populate the new Lat/Long columns...

rake geocode:all CLASS=Location SLEEP=0.5 BATCH=100


If I'm doing more than just setting a variable and rendering a template, I'll move this logic into a class...easier to test and you can separate things out based on their concerns.