jaxrs: add new /1.0/kb/security/subject API

This is useful to get information on a session. It will be used by Kaui
to detect if a user is logged-in.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>