ActorJS upgrade - changed Actor#setObject to setResource
Support for WebGL context loss simulation and subscription
Minor refactorings