(bug 43116) Don't run database updates for shared tables unless --doshared is provided

Added DatabaseUpdater::doTable() to check whether updates should executed on the given table.

Change-Id: I83fd722b604f9bc8a834681d234a0d80964dedc5
Merge "(bug 43116) Don't run database updates for shared tables unless --doshared is provided"