convert session to dict before pickling
convert session to dict before pickling

Session was constantly being pickled without converting to dict as it
should be.

niphlod/pydal,willimoa/pydal,manuelep/pydal,stephenrauch/pydal,kmcheung12/pydal,michele-comitini/pydal,web2py/pydal