Avatar collision

The avatar collision plugin we have talked about before. Basically did a manual rebase on latest develop (manual means that parts of the code had to be rewritten as too many changes occured; cherry picked what could be easily re-used).
Renamed gravity to avatar collision, made client side collision detection scripts a client plugin.