Making DBHelper access synchronized

This was creating problems in the multi user scenario, when multiple content providers are competing for access to the DB.