TRUNK-4238: added storeProperties function, its test case, and marked it...

added storeProperties function, its test case, and marked it as deprecated

https://tickets.openmrs.org/browse/TRUNK-4238