worked on standardizing upgrade function according to CiviHR version
Merge pull request #249 from yashodha/hr-1.1

worked on standardizing upgrade function according to CiviHR version