Convert old style classes to new style

New style classes is the "recommended way to create a class in modern Python" (https://wiki.python.org/moin/NewClassVsClassicClass)

http://stackoverflow.com/questions/54867/what-is-the-difference-between-old-style-and-new-style-classes-in-python?answertab=votes#tab-top