for-each mediator - milestone 3

This contains the code base for implementation of for-each mediator UI with json and xpath support as of milestone 3