ENH: Realign and harmonise log messages with getF2BLogger helper
ENH: Log unhandled exceptions to Fail2Ban log
ENH: Tweak naming of getF2BLogger, and ensure consistent use
ENH: Rename fail2ban_excepthook to excepthook
BF: Fix getLogger for single level log level names
ENH: Add <chain> to iptables-ipsets.
BF: aInfo could be modified by actions, causing unexpected behaviour

A separate copy of aInfo is passed to each action
ENH: Introduce iptables-common.conf.
Merge pull request #739 from ranvis/enh-iptables-ipsets

ENH: Add <chain> to iptables-ipsets.
Merge branch 'kwirk/harmonize-log-msgs'

Conflicts:
	ChangeLog - Keep all additions
TST: Test for actions modifying (un)ban aInfo
TST: actions modifying aInfo test more robust
DOC: ChangeLog -- Added an entry about iptables-common.conf
Merge branch 'ainfo-copy' of https://github.com/kwirk/fail2ban

* 'ainfo-copy' of https://github.com/kwirk/fail2ban:
  TST: actions modifying aInfo test more robust
  TST: Test for actions modifying (un)ban aInfo
  BF: aInfo could be modified by actions, causing unexpected behaviour
BF: reincarnated import of logging (used to obtain level constants)
DOC: Changelog for previous merge (pass a copy of aInfo)
Merge remote-tracking branch 'remotes/upstream/master', fix test cases (see bellow)
Conflicts resolved:
	ChangeLog
	fail2ban/server/filter.py
	fail2ban/server/jail.py
	fail2ban/tests/actionstestcase.py
Test cases fixed:
	testBanActionsAInfo - fail ticket with current time (otherwise ticket will be ignored - ban time too old)
	testFail2BanExceptHook - use local sys.__excepthook__ to check was really executed and prevent write error in stderr.