Changed off API function

The `off` function now accepts either one or two parameters or none at all. Event listeners will be removed according to which parameters are provided. If you call `off` with no parameters, all listeners will be removed from the player.