Some code cleanup
Add PyPI badge to README
Use bootstrap 3 for docs
Some Py3 changes (suggested by Graham Mills)