"Added code to get the revision of BitShares repo"

Please review it & le t me know if there any changes required.