Use gearbox instead of Paste for Python 3 compatibility.

As Paste is not going to get a Python 3 port, to prepare for Python 3 a switch from Paste is needed.