generalize the file watch feature

it will also be used for watching .ui files.

Change-Id: I74cddca1dcdc8661d397a3f6af814d97a13d4ebd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
shortcut spell checking if no dictionaries were loaded

Change-Id: I2657f34947790eb5ed71f160becbb01399147793
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
add ws-checks for commit messages

Change-Id: I65e0ce4381b98b632dee740f1a3da546691f83ff
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
add a way to do instance-specific configuration

Change-Id: I6862970b6bb5ebb6a171c40a5ed4668d49778b28
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
make bad-URL-regexp configurable

this is needed for the digia-internal sanity bot.

on the downside, local sanity checking won't complain about url abuse
anymore (unless the user configures it), but that seems somewhat minor
to me.

Change-Id: Ibbcd2b8ef79668d7f7c7c3a9aa6702c7599c4db1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
exclude 3rdparty and .ts files from apple terminology check

Change-Id: I302a20bf5359a676f2f506010fba7ce30c2d6231
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
exclude .ps and .pdf files from various checks

git has a tendency to misdetect these files as text, which causes us to
produce quite a lot of noise.

Change-Id: I01e23b26ce3f7f13f606524f611d747ce8db30f1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>