Fixed shiro exception on logout when using "native" shiro session

subject.logout() already invalidates session and subsequent call to Session.get().invalidateNow() will cause shiro exception when using "native" shiro web sessions. See issue #277 .
Merge pull request #280 from lorentzg/master

[shiro] Fixed shiro exception on logout when using "native" shiro session