Google: Fix snarfer with Python 3.
core: Various Python 3 compatibility fixes.

Conflicts:
	src/httpserver.py
Dict: Use normal import (was broken in Python 3.3 for some reason).