Add bugtraq regex test dialog

Based on code of TortoiseSVN.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Optimize handling of bug links in commit messages

Based on latest TortoiseSVN code.

Signed-off-by: Sven Strickroth <email@cs-ware.de>