Added res folder validator.

This should avoid any further issue along the lines of
http://mancubus.net/forums/index.php/topic,1223.0.html and similar.
Merge pull request #86 from Gaerzi/master

Added res folder validator.