AMBARI-6125. Ambari Groovy client enhancements. (Janos Matyas and Krisztian Horvath via yusaku)