SYNC-274

https://tickets.openmrs.org/browse/SYNC-274
 - Added trim for saving include and exclude classnames
 - Added unit test for testing saved classnames