Refactor, add tests.

* Adds mocha and expect.js for tests
* Refactors code heavily, mostly on the osm2geojson side
* Exports functions as module.exports for node & browserify
* Adds package.json for browserify