[ticket/12693] Add a travis test that checks file permissions

https://tracker.phpbb.com/browse/PHPBB3-12693

PHPBB3-12693