changed error message and remove wild card imports as per comments TRUNK-3293

Hi Dkyaiwa, I have done changes you mentioned in https://github.com/harsha89/openmrs-core/commit/95703528a614bc9fd1113291fd2ef624f00093e4#commitcomment-61748 :)