Rev parse

Implement the rev-parse command.  We use this command and a few of it's options at our site, so we need it to be there.  Instead of just asking for it to be implemented, we implemented it and are freely giving this code back to the project.