Fix composer and travis to framework 3.1
Merge pull request #158 from tractorcow/pulls/0.5/compat

Fix composer and travis to framework 3.1