Low: Stateful: Clean up implementation of Stateful (bnc#867372)

* Advertise the promote/demote actions in the RA metadata
* Use the standard OCF return code macros where appropriate
* Remove trailing whitespace