Pacman: bugfixes.

Also implemented a conversion (bool array to int) function in util.cpp.
Merge branch 'master' of github.com:jkirschner42/aixi