Add serialisation code for required types.
- Locking travis to stackage.
- Fixed coverall.io integration.
closes #1