Basic implementation of the actions API.

Signed-off-by: Atheriel <atheriel@gmail.com>
Added an example script for actions.

Signed-off-by: Atheriel <atheriel@gmail.com>
Docstrings for the Action API.

Signed-off-by: Atheriel <atheriel@gmail.com>