Port pelican to python 3.

Stays compatible with 2.x series, thanks to an unified codebase.
Update the "how to contribute" docs with py3k info.