Converted the sb hook system to use the regular gm hook system
Added some more hooks (onEnvironmentAdded, onEnvironmentRemoved, onDeviceAdded, onDeviceRemoved)
changed some player logic to the player class (instead of gamemode functions)