Fix Issue #695 support python3 

by making a python3 version of beaker.py and then dynamically choosing to load it or the old one, as needed.