Refactor internal session handler to write directly to $_SESSION

I've been trying to get owncloud to run on HHVM with limited success.

Sessions don't work *at all* with HHVM, as the $_SESSION is only updated when close() is hit, which only executed when the class is destructed.

Internal should also not extend memory, but the base interface.

Removal of redundant data array also.