Correct bug when use Json response format / Add ability to set order for Rest requests parameters

Some APIs (like skybiometry faces/detect endpoint) requires that Rest parameter are sent in a given order.

As the current implementation uses a dictionary to store parameters, order are not preserved.

I added a new version of initWithMultipartRequest which takes a new parameter to give an order.