Nightly Script

- Split out build_json and update_data. Both are called from Nightly.py.
- Added code to update_data that imports data from SDE and adds the five main fields if any are missing. Still need to add code to update data if it's already been copied.
- Added code to build_json that queries the map service to get the layer indices.
Wired up app to hit search api.

Only shows query layers that have corresponding layers in the map service.
Added some of the query layers that we have data for to the map service.
Merge pull request #68 from agrc/search

Search api integration