fixed tests from running forever, added nodeunit and jshint as dev dependencies, added db init script for setup