smaller inherits utility

- Ditch `inherits` that breaks MooTools (https://github.com/Automattic/socket.io-client/issues/689#issuecomment-45448536)
- Implement smaller, simpler inherits utility