Various bug fixes

Fixed Entity::Id's being re-cycled incorrectly.
Fixed issue where re-activating Entities caused them to be re-added to
their Systems.
Added the ability for an empty Entity handle to check its validity
without asserting.