Remove circular dependency from the Java build.

refs #841
Include LSM in random test/format runs.