Python virtualenv support

Hi.  I worked up these changes for running beaver in our python environment and added a few more features to the beaver configuration.