security: add persistent sessions support

Store sessions in a table for the multi-nodes scenario.

This patch also enables EhCache caching for Shiro and
refactors the Shiro Guice setup.

The shiro.ini file is only used for users and roles now,
the main section is now handled in the Guice module.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>