make generic picard entry point, make picard default mem specific to the command, clean up tmpfiles in tests