Restore hive session resources on hive server restart
Refactor code to create add resouce query into a method
Merge pull request #119 from jdhok/develop2

Restore hive session resources on hive server restart