Made mksql3db robust to no calendar_dates. **Need
to make code robust to no calendar.txt. This is to spec.
Added partial time fix to DB script and frag state save.
Fixed mksql3db and added example.