Better Water Based AI

Amphibious Mobs should stick near water now and retreat when necessary
to the last safe spot. It isn't perfect: they wont move into 1x1 water
areas due to the vanilla pathfinder rounding their target position, very
strange but I might be able to fix this and it will affect everything.
Also fixed potion effects using ticks instead of seconds.