Issue #83 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.
alternatively put all related assertions into one function per thing, like:

```python
def test_spaces():
    # ...
```
etc.