Get cached current user

Implement methods simplifying access to the currently logged in User:
 - `User.getCachedCurrent()`
 - `User.isAuthenticated()`
 - `User.getCurrentId()`

This is a rework of #14.

/to @ritch please review
/cc @seanbrookes