Add route edit view with representative trip selector

Adds OTITripModel
Adds OTITripManager
Use map/filter for OTITripModel transformResponse
Add mode filter for gtfs_shapes and gtfs_stops to windshaft

Fix SQL injection vulnerability

Add modes param to map and move map controls to bottom left
Add mode selector

Add modes to windshaft indicator SQL

Add mode filtering functionality to indicators map
Make mode selection stick between Transit tab and Indicators tab
Small UTFGrid fix
Changed event strings to properties
Merge pull request #414 from WorldBank-Transport/feature/scenario-route-edit

Add route edit view with representative trip selector
Merge pull request #413 from WorldBank-Transport/feature/add-mode-filter-on-map

Feature/add mode filter on map
Filter scenario sample periods exclude alltime
Merge branch 'develop' of github.com:WorldBank-Transport/open-transit-indicators into develop
Add mode selector to scenario view
Fix SQL function creation for tests and scenarios
Merge pull request #419 from flibbertigibbet/feature/sql-function-move

Fix SQL function creation for tests and scenarios
Remove formatted value from indicator model
Use django translated formatted value for pop-up

This commit changes windshaft and angular code to
make a request when the utf-grid is clicked for the
specified indicator. This needs to be done so that
the translated string for the formatted value
is used correctly.
Save indicator results to DB directly from scala

This commit changes how indicators are save to the
database by saving results directly to the database
via scala. Prior to this commit, results were sent
over the wire to django, which then had to read the
response and then save the results to postgres.

Django could not keep up with saving, serializing,
and deserializing many geometries in quick succession.
This would then lead to timeouts and failures for
indicator processing.

Saving results directly to the database bypasses
this problem.