Merge pull request #47 from victorlin/setup-travis-ci

Fix #46, add configuration for Travis CI
Fix #45, add limitation to transaction failure times
Read maximum_retry from configuration file