'GET /api/whoami
Return information about the current authenticated user.
:returns: dictionary with user information
:rtype:   dict'

@expose_api_anonymous
def whoami(self, trans, **kwd):

    current_user = self.user_manager.current_user(trans)
    return current_user.to_dict()
