Adding prefix and suffix options

This addresses issue #1 similar to the patch submitted by @firede.

- Added documentation
- Used the "fallback" mechanism (and later rewrote it) for prefix/suffix
- Exposing the prefix and suffix in an alternate way (defaultOptions)
- Added tests
- Changed tests to run all options and encoding tests for streams and
  buffers
- New tests found problems processing streams - fixed them