Added generating __opts__ when rest_wsgi not started via salt-api
Added generating __opts__ when rest_wsgi not started via salt-api

Thanks to cxz on IRC for the report.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt