Boost Python enum fix Python 3.
Update usage of iterating items in Python dictionaries.
Update usage of iterating Python dictionaries in Unit animstate.
Merge Python changes from py-source-sdk-2013.