Updated to work with Daylite 4 and 5 databases

Daylite databases and schema changed from v3.  This new version supports Marketcircle's newer Postgres implementation.