Added support for battle Enemy custom and scriptable AI

I normally shouldn't work on this as I'm currently trying to release something
stable, yet, the player experience is so much better with custom AI that
it's worth the fact to add it now.

This closes #221