Adds heroku database environment variable to datamapper.
Merge pull request #17 from binaryberry/master

added test about link between events - 2 tests not passing
Merge pull request #18 from binaryberry/master

refactored tests and added map zooming test
changes mapbox map to use my account
Map now a) won't show you two Australia's when you're zoomed out too far because b) you can't zoom out too far and c) you can't pan out of the world bounds. Centre of the world is set to Greenwich. Obvs.
Big frontendy stuff commit. Map style changes, pop ups now have tabs, pop ups are styled, and there's been a bit of refactoring with the JS. Kinda wish we'd done this with Ember.
Moves the popup template to handelbars -- makes it vaguely readbale in comparison to how it was...
starts to control map zoom/pan on click. Also initializes map view on open to the bounds of the events loaded
Adds the maxZoom option to the fitBounds initialization method.
Refactors the form upload methods slightly
Adds (passing) test with for linking events to one another. Required changing some of the ids in the other tests
Adds method for constucting a link string with required data in the json response
Unescapes the html in the handlebar for link
Chains the zoom and pan methods
new rspec test for linked events
fixed linked events, removed map zooming test