Added TEST and XCHG instructions & bug fix
Added TEST and XCHG instructions & bug fix

* Added encodings for TEST and XCHG instructions
* Fixed REXWR uses that should have been REXWB
* Extracted out magic numbers in jmp_encoder
ndickson/encodeasm