Python Rewrite

This branch started as an upgrade to the web.py module, but has since been a part of a major refactoring of the Python sources. Most of the files are changed and some added. While it is still a work in progress, I feel it is time to push this to master for further development.