Fixed some bugs in config manager and aicore.State
Merge branch 'master' of https://github.com/evenmarbles/pyailib