Added missing USING_PAGINATED const to DAO definitions. (this is temporary, i think i'm going to remove this after).

Fixed a bunch of bugs caused by DAO changes.