Improvements to entity metadata and I/O:
- Fix entities not being removed because their id was unset.
- Metadata changes system improved, players see their own metadata.
- On-fire status is now reflected in entity metadata.
- Nicer metadata bitflag manipulation and constants.
- Catch more exceptions in entity load/save.
- Use a reasonable default when setting GlowItems to null stacks.