Experimental py.test integration, and some refactoring to go along with it. Modified README.rst, including an example bash function.