actions: bug fix in lambdas in checkBan, because getBansMerged could return None (purge resp. asynchronous addBan), make the logic all around more stable;
test cases: extended with test to check action together with database functionality (ex.: to verify lambdas in checkBan);
database: getBansMerged should work within lock, using reentrant lock (cause call of getBans inside of getBansMerged);
Test cases fixed:
	testFail2BanExceptHook - use local sys.__excepthook__ to check was really executed and prevent write error in stderr.
code review
few confusing merge info helper
BF: failregex declared direct in jail was joined to single line, (specifying of multiple expressions was not possible);
feature request (gh-867): new options for jail introduced addfailregex/addignoreregex: extends regex specified in filter (opposite to failregex/ignoreregex that overwrites it);
test cases extended (now correct)
interpolation of config readers extended with `%(known/parameter)s`.
(means last known option with name `parameter`).
python 2.6 compatibility: preventing RuntimeError: dictionary changed size during iteration.
Separate php-url-fopen logpath by newline
Merge pull request #869 from opoplawski/logpath

Separate php-url-fopen logpath by newline
Changelog entry for preceding fix
better and scalable solution for gh-867 (and gh-868), using only name convention like %(known/failregex)s to add custom expressions, so no interface changes in jail.conf are necessary (for example see test-known-interp in test cases);
Merge pull request #839 from sebres/fix-none-getattempt-lambda

Fix none getattempt lambda (close #838,  close #848)
Merge remote-tracking branch 'remotes/upstream/master' into sebres:addfailregex-gh-867
Merge pull request #868 from sebres/addfailregex-gh-867

"known/" prefix to allow reuse specs from prev files for addfailregex/addignoreregex (Close #867)
exim filter: correct failregex for exim with extended log options

incoming_interface, incoming_port, outgoing_port
Merge pull request #873 from bes-internal/patch-1

exim filter: added  matching  of possible port after host