Add in ability to query a user's actions

Will be useful for plugins. Closes #28