Expand logging. New stored procedures for pulling paginated messages and contacts. Add device init to pull existing records when first syncing a new device