Add lift for walking up stairs

Also some fixes for freeing avatars trapped in voxel collisions
merge upstream/master into andrew/inertia
Merge pull request #2821 from AndrewMeadows/inertia

avatar walks up ledges