Fixed List.clear() for python <3.3 and fixed AI re-instantiation
CCompatibility issue for python 3.4 and python 3.2
Merge branch 'devchema' into dev

* devchema:
  Fixed List.clear() for python <3.3 and fixed AI re-instantiation