Python 3

- Includes logging changes
- Python 3 version of param

This should stay in a separate branch.