CHOP-14. Verify that jars added to the DCache are jars.

Also cleaned up jar finding code.

Signed-off-by: Juliet Hougland <juliet@wibidata.com>