SPARK-2761 refactor #maybeSpill into Spillable

Moved `#maybeSpill` in ExternalSorter and EAOM into `Spillable`.
Actually this doesn't even need to take in a type param. See my comments elsewhere.