Merge remote-tracking branch 'remotes/upstream/release-1.10' into release-1.10
[DECORATORS] added @deprecated decorator: mark a callable as deprecated
[CORE] major syntax cleanup + added 2 default event handlers in Plugin class

This commits carries a major syntax cleanup of the core modules + a minor change in the plugin class. I added default event handlers for EVT_EXIT and EVT_STOP so it's possible now to catch them in plugin classes and perform operations.
Merge remote-tracking branch 'remotes/upstream/release-1.10' into release-1.10
[STORAGE] syntax cleanup + removed executeSql() method: using only queryFromFile
[PARSERS] syntax cleanup + several bugfixes
[PLUGINS] syntax cleanup + improvements
[TOOLS] syntax cleanup
[XLRSTATS] syntax cleanup + major fixes

This commit carries the following changes to the XLRstats plugin:

- syntax cleanup
- make use of the new getCmd function defined in b3.functions
- make use of self.getEventID() to retrieve events ids
 - make use of the new event handler system in XLRstatsPlugin
- make use of the new event handler system in CtimePlugin
- make use of the new event handler system in BattlestatsPlugin
- added debug information on plugin configuration file loading
- correctly declare Kfactor attribute in PlayerStats class
- replaced variables names using python built-in keywords
- match also 'yes' and 'no' keywords in !xlrhide command
- added missing call to super constructor in XlrstatshistoryPlugin
- added missing call to super constructor in CtimePlugin
- added missing call to super constructor in BattlestatsPlugin
[TESTS] added tests for !pluginfo command + updated old test cases to comply with the new changes
Merge remote-tracking branch 'remotes/upstream/release-1.10' into release-1.10

Conflicts:
	b3/parsers/cod5.py
	b3/parsers/insurgency.py
[PARSERS] keep old abstract parsers file name for extplugins tests backwards compatibility
[TESTS] updated tests to use queryFromFile method instead of executeSql
[SFTPYTAIL] fix regression
[DECORATORS] removed deprecated decorator: is not compatible with python 2.6
Merge pull request #207 from FenixXx/release-1.10

major updates