Add image config validator.
Merge pull request #11 from tadcka/media

Media image uploader.