Proper escaping of special characters in grid views

Fixes #320
Merge pull request #796 from mzazrivec/proper_special_character_quoting_in_grid

Proper escaping of special characters in grid views