Merge pull request #7 from rmtew/bugfixes

If a dos library printf format string does not include a length, and is formatting a number, it would error. This fixes that. [contributed by rmtew]
Merge pull request #8 from rmtew/bugfixes

Terminal detection would error on non-posix operating systems
updated to musashi 3.4
added musashi a-line opcode hook callback
added native traps
moved trap into ami lib
added auto rts and one shot traps
switched to direct aline library traps
use generic call stub generator
allow to select CPU type
rewrite of lib mgr
fixed lib base memory allocation
cleaned up lib function API
set Exec's AttnFlags for CPU
allow signed reloc32
some fixes
fix lib init seg list ptr
fixed mem debug
add optional register dump to instruction trace
added size to memory layout of seg list