[ticket/11509] Further improvements/fixes for the Travis CI commit message checker

 - Exit with non-zero exit status on failure (i.e. properly fail on Travis CI).
 - Inspect the correct range of commits
 - Output which commits are being inspected

http://tracker.phpbb.com/browse/PHPBB3-11509