Fix issue with beds (Stuck in bed.)

I fix the issue when you stuck in bed.
I add a new event in PlayerEvent class.(TeleportEvent)
I fix an issue when you want to destroy a bed and you will put in bed.
?!? (Now it's fix).
Move to version 1.7 which will be release maybe soon.