Added tests, updated README and added generateSalt method
Merge pull request #5 from ckozak/master

Added tests, updated README and added generateSalt method