rewritten session-local.js to do not use jQuery/Deferred + made tests use Promise API
fixed sessionLocal tests
fixed tests for encrypted sessionLocal stores