Fix doctests + add doctests to tox config

Used raw docstrings where needed.
Had to skip some tests that depend on internal dictionary key ordering.
Also disabled doctests in `tox.ini` for Python 3.3