make current image directory available to lua with get_image_dir(), make get_target_dir_name work for cameras with non-date folder numbering - trunk 2225