add travis configuration scripts to support travis.
fix building issue.
add script executation permission.
do not update apt
fix failed tests.
do not install maven dependencies before testing.
Merge pull request #38 from lyhypacm/travis-support

Add Travis support