ZOOKEEPER-3955: added a shebang or a 'shell' directive to lastRevision.sh
1. Added the shebang
2. Added $(...) notation instead of legacy backticked `...`
3. Added double quote to prevent globbing and word splitting
Author: championquizzer <joydeep09@gmail.com>
Reviewers: eolivelli@apache.org, andor@apache.org
Closes #1472 from championquizzer/newbranch