Add tableExists to QueryInterface as well

Apparently having it only in TableBuilder will cause
interface segregation issues as well.

Change-Id: Ibb44d2849077e05b1e11ff0427405e70ee47bdb4
Merge "Add tableExists to QueryInterface as well"