Fix setting entity's target. Fixes BUKKIT-1358

Setting the goal target overrides the entity's will to do something
else. This makes it so entities like wolves with attack another player
with .setTarget(), instead of hanging next to their owner.

(cherry picked from commit d885a70e0e21929be8db6dfd06bdd5dd15d2beeb)