Refactor and document Action class

I have refactored the Action class a little bit by renaming the
enumeration constants to more descriptive ones and added full
documentation.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>