Output messages in UTF-8 instead of encoding with the default locale

Change-Id: I33069ceb805e747c5e720bea922688d677ea7ff6
added .travis.yml to enable travis-ci