default port to 5000 and use environ for other

also, use DEBUG=True to get flask to load with reloader
Remove timedelta from search_json()
Merge pull request #28 from mikewadsten/master

Remove time shift from search_json()
Update JSON api. Add gap IDs to gaps.
Merge pull request #29 from mikewadsten/master

Update JSON API, add IDs to gaps
Change JSON API to use Flask's jsonify function.
Change search.json over to jsonify and a {rooms: [..]} format
Merge pull request #30 from mikewadsten/master

Make the JSON API use Flask's jsonify function, and keep to JSON security standards.
More reasonable responses in JSON API.
Merge pull request #31 from mikewadsten/master

JSON API: Detect if request was a search query, and if it was, return empty array instead of error.