Revert "[SPARK-1199][REPL] Remove VALId and use the original import style for defined classes."

This reverts commit 6e0b7e5308263bef60120debe05577868ebaeea9.