Start of export_keys extra script.
Limit loop to end of chain, seperate method for NEW keys.
Loop though the addresses by index so they are in order.
Abstract out the unlock so we can add dumpImportedKeys
Added method to dump imported keys.