[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
Merge pull request #294 from poussa/xwalk-1599

[Content] Update instance counter in anycase