Cleanup loader calls to setBaseUrl
Load under full path to fix assert.

The path is invalid without this when a ScriptAction.script is looked up.
This only happens when qt is compiled with -developer-build.
Didn't add a testcase as this happens when executing(app.exec()) and not
something that will break in the future.
Fix basic javascript compile/running for ARM_THUMB2

On ARM_THUMB2 when a MacroAssemblerCodePtr is initialized it stores +1
of the passed code pointer and when dataLocation() is called it -1 before it
returns it. executableAddress returns the +1 offset so everything is off by one
byte when running. See class MacroAssemblerCodePtr in
qmccompiler/qmcexporter.cpp.
Fix ARM_THUMB2 compiling/loading when branch compaction happens

When the branch compaction is done it records things in the unlinked code
buffer, recording offsets for the linked code. Later the code looks up the
offsets in the unlinked buffer to calculate offsets in the linked code.
Pass argc and argv so one can pass command line options to the tests
Call prelink which might add to the jumps before we record the jumps