Updated record_string to correctly escape quotes and backslashes when turning the datashape into a string.
This fixes a problem in blaze where converting from one datatype to another would throw errors when transferring the datashape from one source of data to another.
Several tests have been added and all tests pass.
Updated so that changes fit within 80 columns.
Inverted regex test so that simple names aren't wrapped in quotes.
Moved testing dshape strings so that they are inline in the tests.
Fixed backslash test so that it raises an exception as expected.
lexer.py appears to disallow backslashes in field names.
Updated to use pytest instead of unittest.
All tests pass as expected.
Future work includes updating grammar to allow backslashes in field names, but
for now, the test expectedly raises an exception.
clean up code in record_string
Merge pull request #104 from mrocklin/wesley-escape

Wesley escape