Improve apiary_db class

Get rid of runSql stub that was left behind. Clean up code slightly.
Merge pull request #193 from WikiApiary/develop

Improve apiary_db class