initial work on adding support for a separate database to hold session data

detailed notes are in sessions_db.php

including patches/igbinary-session-serializer branch patches
Merge branch 'patches/separate-sessions-db' into MOODLE_26_STABLE-local
fix variable misspelling
Merge branch 'patches/separate-sessions-db' into MOODLE_26_STABLE-local