Add ability to load a query from file.

HIve queries can now be loaded from a file in the resources folder. This closes #94. Also closes #20.