Update version of motech.  Extract some date processing and implement phu loading.