Support single and double quotes in xblock string field editor

Addresses STUD-1984. @cahrens @andy-armstrong please review.
@cahrens concluded that it is not safe to create sinon requests in beforeEach methods when she addressed https://openedx.atlassian.net/browse/STUD-1264. Please leave these calls in the tests themselves.