Add unit tests for the x64Emitter

And fix bugs and issues found during development of the tests.

Still missing some coverage, some very common ops like LEA are completely untested for example.

    [----------] 186 tests from x64EmitterTest (56 ms total)