Added JTAG connection to outside world.
Fixed directionality of JTAG port pins