Quote 'key.name' properly when used in URL path / query string.

Fixes #354.
Consistent dict literal formatting.

What did Emerson know, anyway?
Merge pull request #364 from tseaver/354-support_slash_in_key_names

Fix #354: support slash in key names