Add the getsid command

Added support for a the getsid command so that it's easy to
determine the SID of the current user. This will be useful for
a number of different use cases.
Land #102, adds getsid command