Merge pull request #14 from matematik7/master

SHA1, Session: Fixed documentation for SHA1 encode function and a problem with session init.