Add $currentUser and $ensureCurrentUser

$rootScope.$currentUser contains User resource of the current user.
The value is automatically filled on User.login, cleared on User.logout
and 401 responses.

$rootScope.$ensureCurrentUser() is a helper that will fetch
the current user, but only if $currentUser is not already set.