adding alertify.debug() which attaches alertify.error to window.onerror

Great way to track JS errors, might make a nice addition to the alertify core.
To enable, run:
```javascript
alertify.debug();
```