ActionsParser refactor

Again, apparently misplaced tests - this should be in a finalize() of Payload parser (see my "spaghetti" comment on checkPayload()) – the historical reason for this was that headers could have been defined on action and resource level... 

Doing so (checking in the payload parser) will also result in smaller `checkPayload` in the `ActionParser`