Remove SparkEnv from SparkDDLTask.

Don't use it to compute table identifiers (yet).
Unit tests for creating cached tables using CREATE TABLE.