allow creating lush server instance outside main()

first step in creating tests
hook up to travis ci
Merge remote-tracking branch 'origin/master'