Support single and double quotes in xblock string field editor

Addresses STUD-1984. @cahrens @andy-armstrong please review.
Such a lot of testing for such a small fix!