Some 80 column refactoring

It is helpful, but a pain :/
Adding in the READ procedures for the cache

Cache can now
  - get a segment of timeseries
  - get list of
    - namespaces
    - structures under namespace
    - structure instances under structures

Updating tests to reflect the functionality

Fixed a message with an exception being thrown