updated for Python 3.4

Updated for Python 3.4 and latest version of Werkzeug.