Test and fail early if a job does not fit the type of context
Handle the WrongJobType error code at API level
Move SparkContextFactory to context/ subpackage
Move JarUtils into util subpackage