fixed some bugs in hive.py

The calls to ctors for HivePartitionTarget and HiveTableTarget put the arguments in the wrong order (database first). The order has been fixed to be table first.

The HiveRunnerTask doesn't check to see if there is a value for parent_dir before checking to see if it exists.