Fix the context roots substitution in the Grids.
Merge pull request #539 from fmoloney/143Fix

Fix the context roots substitution in the Grids.