Updated rest_wsgi for __virtualname__
Added logging to rest_wsgi
Instantiate __opts__ manually if not injected via the loader

This allows running the script standalone. Fixes #123