change checkTripData to isTripDataValid and add some check

force developers to check data first instead of using workaround to make
Trip.js run
bump version to 1.1.2