[FIX] SAM warnings and unused typedef removed, Travis tuned

- unsigned comparison warnings in SAM I/O removed
- removed some unused typedefs
- modified Travis to use gcc48 with unused-template-warnings
- tuned Travis to use more threads for clang and the tests