Refactored inheritance.
Added player_[enter|leave]_bed.
Merge pull request #102 from EntityReborn/master

Fixing a inheritance issue, adding bed events.