[Travis] Use travis submodule.
Remove wrong test.
Correct cppwarning in function declaration
Correct several cppwarnings.