Fix url doc string
Split up encode-key

Factors encode-key into encode-key-seq and normalise-key.

Note the one test change.

This probably requires additional tests for encode-key-seq.

It might also require deprecation metadata for key-url and encode-key.