add key listing; clean up minor bugs
add key listing; clean up minor bugs

minor bugs include failing to initialise the response in the delete code
path and improperly understand how the iterator worked.

gokyle/kludge