Compatibility with Python 2.6
Better implementation of the BaseTask
Added support for json serialization.
Pickle serialization marked as XFAIL in Py3k