Fix python bindings

Cleaned up the BMI Python bindings, added unit tests.