ISIS-233: argument validation when invoking actions

* mostly 'invalidReason' and 'x-ro-invalidReason'
* also fix for ObjectActionParameter.isValid, which only worked for strings;
  now works for other types too (in backward compatible fashion).