Fixup for ATTACHED_COUNT

- Created HashMap that stores the class and the attached count. This should make sure that when checking the attached count of a class, it always returns that classes attached count and not an overall number.
- Made setSpawnHealth do setHealth with the SPAWN cause.
- Removed some unneeded code.
- Added TODO for MaxHealthChangedEvent
- Removed setSavable calls from compoments as the parent already does this.

Signed-off-by: Steven Downer <grinch@outlook.com>
Merge pull request #637 from Grinch/master

Fixup for ATTACHED_COUNT