Use Safe headNote and tailNote functions

Be able to identify null lists as specific errors conveniently.

This isn't as far as I would like to go.  I'd prefer to use the cleaner
tailMay and headMay functions and reflect these error cases as types.