threshold.path - bugfix + path unfolding

Added the unfold argument to unwrap longitudes across the dateline
Also fixed a bug where we were not correctly testing for missing times.