Ensuring that analytics database creation commands are executed in
sequence.
   - Refactoring analytics and sync database creation using
executeSqlCommandsInSequence method.
Merge pull request #21 from appglu/fixing-analytics-db-creation

Fixing analytics database creation