fixed major issue with returning thenables from then methods; added travis-ci