Copied over everything from openstreetmap-mongo. Unit tests running.