Optimise escape function
Use guards instead of conditional expression
Add TODO
Merge branch 'master' of https://github.com/fhartwig/cassava
{To,From}Record -> {To,From}NamedRecord in haddocks
Use enum to indicate if CSV data has header

This makes code more self documenting e.g.

    decode NoHeader ...

is easier to read than

    decode False ...
Have encode take a list as input

By using a list instead of a vector we can encode in constant space.
Fixes #42.
Fix build failure
Include up to 100 bytes of input of error messages

Prior to this change 'decode' and 'decodeByName' could output a
potentially large input file in error messages.
Indicate if input in error message was truncated

If we truncate the unconsumed input shown in error messages indicate
that in the message.
Merge master into space2