Enabled trait gaining

This was not working because some components where not initialized correctly.
- added the missing TRAIT_INCREMENT variable to the defines xml
- added initialization code that alters the boolean array m_pbTraits from dynTraits with info from leaderhead
todo update
added temporary test logging to see if traitGain funcs are being called
added test code to call a python func directly (onTraitGained())
adding "onTraitGained" as new python event
works, temp commit before cleanup

lots of TODOs and imports to remove, I commit the working version before maybe removing
anything crucial
cleaned up BugEventManager.py
cleaned up BugGameUtils.py
cleaned up BugUtil.py
cleanup done
Merge branch 'test_traitGained_into_eventHandler' into feat_dyntraits
added ignore list, contains vim swp files for now
cleanup tasks before upcoming release

- disabled logging to modpy2.log
- CvUtil: moved log modpy.log to relative path (bts dir)
- reduced BUG logging level to WARN for on-screen messages
todo update, added new task + error report
tiny update before merging in Lib's changes