Introduce arakoon_user_function

This exposes Arakoon's user function interface.

Please review and apply if the review shows no issues.
Could this be added to the bottom of the file instead?