Correctly detect in-memory RDDs for table scans.
Materialize rows for table recovery/persistence unit test.
Don't try to reload RDDs in Java test suite. ALl of that happens in SharkRunner now.
Merge pull request #253 from harveyfeng/tablescan

Correctly detect in-memory RDDs for table scans.
Fix for shark environment template when JAVA_OPTS is set.