Added JOI validation to manifest.
Merge pull request #1822 from arb/validate-manifest

Added joi validation to manifest.