Python 2.7 Updates

This is first of a series of patches intended to bring `oft` (and later - other modules) in line with Python 2.7. This was previously discussed in #128.

For now, these do not add any functionality. This is intentional, in order to keep the complexity down. However, I plan to migrate to `argparse` and implement some more detailed logging as I go.