Fixed errors with node v0.10.26

Kept getting undefined errors with 0.10.26 due to Encoding changes in
underlying crypto library. Throws Error if we didn’t successfully
encrypt message. Added test file for checking library works.  Version
bump
Fixed running test case and changed variables

Fixed running test case from directory and changed variables to
camelCase
Merge pull request #2 from sjg/master

Fixed errors with node v0.10.26