Testcase for Grill Cli and Grill Client.

Fixing misc bug fixes in the code which were not caught in testing.


hadoop-core dependency is added twice, one with test scope and one without scope