fixing issue - Updating CarbonContext to read OSGi services CARBON-15038
adding security exception
improving error logs
optimizing imports
Merge pull request #70 from Nipuni/CARBON-15038

fixing issue - Updating CarbonContext to read OSGi services CARBON-15038