Make tests run on git version

Adding the __init__.py file to the tests directory causes nose to use the code in the git directory, rather than the globally installed version.  Additionally, changes to loading configuration files and utility scripts allows for `nosetests` to be run from the root directory.

There is also a commit here that adds the egg generated `setup.py` when setuptools is imported to the gitignore file.