DBAPI refactoring and bug fix

I broke some code that displays annotation statistics and as I noticed,
the "area" lexical annotation @ options value suggestions was blank. Found
out the problem here and refactored the code, deprecating 3 WikiDataAPI
functions in the process.

Change-Id: Ib90627ff8a7d0edef8bd890b8cb293f375747bd5
Merge "DBAPI refactoring and bug fix"