use snakeoil in add_key action; minor improvements

Patch set summary:
1) Use snakeoil to make proper directory creation
2) Minor improvements in list/add key