Find data files relative to code files rather than working directory; there's no reason to require this to be run from the containing directory
Refactor project structure / allow pip installation

This patch modifies the layout of the project to include a test
directory, introduces the Nose dependency, and allows installation via
pip.