Trunk 4133

Hi, 

This is for the addition and implementation of the API methods on https://tickets.openmrs.org/browse/TRUNK-4133 .