IPython 2.x compatibility and some styling.
Merge pull request #7 from damianavila/2xcompat

IPython 2.x compatibility and some styling.