Maximum task failures configurable
style
changes per comments.
typo
Minor, style
IDEA flipped JavaSerialized import at some point to a wrong class.
Merge remote-tracking branch 'origin/SPARK-827' into a1-patches

Conflicts:
	docs/configuration.md
Merge remote-tracking branch 'origin/SPARK-826' into a1-patches