Add support for RS-delimited sequences.

Also tests for the CLI.

Much refactoring on rio bounds and shapes was done
here. Profiling needs to be done to see what can be done
to speed it up.

Closes #127.