Entity Scripts bug fixes/improvements

* fixed allowing "include" inside of Entity Scripts
* added support to call "leaveEntity" methods on entity scripts when leaving a domain - NOTE: this may not happen until after you've disconnected from the domain. We need to consider adding support for "about to leave a domain"