Removed the version field from package.json.
Added a better error message in case dub was run outside of a package directory, issue #11.