[Content] Update instance counter in anycase

Update the instance counter in any case and not just when connected sucesfully
to the database. Otherwise, the assert will cause crash in dtor later on.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1599