Fix to ensure tablenames for multi-insert/partitioned cached table get reflected on the shark UI
Code cleanup.

This code is not used and the intended optimization is covered else where. This code/tests cause issues with hadoop 0.23.9. Cleaning up.
Merge branch 'branch-tablename'