Check the parameter enabled before db_sync

Setting enabled to false ensures that the api service is not running
and the db schema is not create/migrated.

Change-Id: Idf4bfea0d21bfb4a0ca2c3c426961340a7d84be5
Merge "Check the parameter enabled before db_sync"