security: implement DefaultSecurityApi#logout()

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Merge remote-tracking branch 'upstream/osgi-shiro'