Added 'logname' command.

http://en.wikipedia.org/wiki/Logname
Merge pull request #16 from emre/master

Added 'logname' command.