Added support for saving encrypted private keys
Ensure password and cipher args get freed.
Merge pull request #48 from mmacaulay/master

Support for encrypted private key PEMs