Fixed AI bugs

Moved useAction to its place in movePiece, not input.
Doesn't go into edit mode automatically anymore

Because we no longer have to. Phalanx length == 1 is checked in
movePiece().