ENG-4720: Add a utility function to get long from Object for legacy hashinator.
Merge pull request #539 from VoltDB/ENG-4720

ENG-4720: Add a utility function to get long from Object for legacy hashinator