Resource Manager fixes & Error handling

* `onComplete` and `onError` are now optional in Resource Manager
* proper error handling in Resource manager
* `__anm.console` object to be a safe way to log
* Fixes for the audio module errors handling