Add 'format' validator.
Merge pull request #27 from hendrikcech/format

Format validator