Get user's shell from dscl.

The SHELL environment variable often does not contain the expected value, getting it from the Directory Services is more robust.
Merge pull request #3 from lucsky/patch-1

Get user's shell from dscl.