demo: fix bad return in MainState.Deinit
.travis.yml: move dependencies installation to the install script.