Add support for Python 3.

Adds Python 3 support; resolves #27. For now, this patch depends on my fork of orderedmultidict at https://github.com/jmcarp/orderedmultidict.