Fixing travis for 3.1 builds
Fix composer and travis to framework 3.1