Update to TreeRunner to support inline defined AMD
using define() followed by require() inline on a page would cause the
module to be fetched even through it has been defined. A test to
ensure this behavior does not regress has been included as well.