Fixed sendEvent bug, bumped version and changed travis to deploy upon new tags