Add package.json file.
Move test files to test directory.
Move source files to lib directory.
Merge pull request #6 from RickEyre/npm

Add package.json file and organize the file structure a bit.