CMS-1821 Convert content_validate to use value objects

- created ValidateContentParams
- created ValidateContentJson
- updated ContentDataParser to be able to use it outside rpc/content package
- updated ContentResource and test