(Bug 5220) More changes indicated from code review process.

- Assign tables outside of foreach loop.

- Indicate which tables are MogileFS and which are the Schwartz.

- Use hash key test instead of smart match operator.