Move tests out of main package directory into their own, in accordance with
http://kennethreitz.org/exposures/repository-structure-and-python
distribute from http://nightly.ziade.org/distribute_setup.py
Remove bin scripts in favor of console_scripts.
Other setup changes.