[SPARK-1779] add warning when memoryFraction is not between 0 and 1

Tests are failing because this should be `<-`, not `->`