Tabs to spaces
Remove defaultReturnType

An API should just return the same thing all the time, this kind
of convenience just not worth supporting
Use pythonic names, ie PEP-8
Remove duplicate example from __init__

We already have an example, no sense maintaining two
Fix example up a lot

Use the new naming, remove some unused data (defaultReturnType)
fix the printout of commands to actually work, use Python 3
style print functions rather than print statements, save
some indentation in our check for failure, put things in
a main function