Parser fix related to object tracking

The parser now explicitly registers all constructed objects via
register-session-object. It formerly skipped registrations for a few
non-resources (like avatar). Originially, this was a premature
optimization based on the fact, that we have no good keys for those
resources, and me thinking "You ain't gonna need it". Turns out, I was
wrong here.