Added ender portal support (see #325).

Adds awardAchievement variant which only awards the achievement if its
parent has already been awarded. Fixes some desyncs with world switching.
Implemented basic damage functionality, including drowning.
Fixed color wrapping by converting flat messages to json.