Added methods to validate metadata.
Merge branch 'master' of github.com:CHAOS-Community/CHAOS.Portal.Client-PHP