boss_session: mnesia schema auto-init;

When the `session_adapter` is set to `mnesia`, the Mnesia
schema was not created automatically. This is to fix it
by adding the `ensure_schema` function.

Note that it has not been tested in distributed environment
yet so we expect the `ensure_schema` may become a bit more
complex in the future.