Added travis configuration file.
Playing around with gcc flags to make travis work.
Attempt to fix some wordsize issues.
Disabled valgrind by default.
Added support for running tests under an emulator.