first pass at upgrade, not there yet
fix even loop blocking
port toUrl changes from requirejs
port package config behavior from requirejs
support onResourceLoad
pass text eval error test
support skipDataMain
update to requirejs 2.1.10 behavior
rev for 0.2.0