Added erronous png file checks
Merge branch 'master' of git://github.com/antwebes/PhotoRestBundle