Create DoctrineSessionHandler, make handler to use a parameter.

I don't know why the old PdoSessionHandler was so slow, but now we cut the generating time into thirds!