Added tests and logic for DBOpenHelper.smartStoreExists(). Refactored SDKManager to use DBOpenHelper instead of having logic itself.

https://gus.my.salesforce.com/apex/adm_userstorydetail?id=a07B00000011KYPIA2&sfdc.override=1

@rev bharath@