Issue 169

Much better json treatment of AppMaster protocol messages. However Configs still presents a problem since the Configs object isn't treated correctly by spray-json implicit marshalling for the test case. For actual REST calls Configs returns a config -> Map[String,String]. 

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/intel-hadoop/gearpump/170)
<!-- Reviewable:end -->