Add pure JS location spec for testing
Add sinon and adjust specs to pass
Remove done callback as it was unecessary
Add test for updating trip model
Add tests for trip objects being updated with triplocations
Add test for trip objects being updated with triplocations collection
Add slightly more intelligent error handling to ajaxError
Add beginnings of a test for the trip view
Use conditional on the event handler event object to allow testing to call it directly.
Add test for meters_to_miles
Update test to avoid using Model.dup
Merge branch 'js_test' into development