added default connection and prepared fields where necessary in response to deprecation warnings
Merge pull request #3 from dimagi/db_prep_deprecation_fix

added default connection and prepared fields