Added CharLimit and DocLimit in GlobalContext
Added escape for queries that might contain strings with special
characters