Added convenience methods for OSGi

We added convenience methods for OSGi:
addServlet, addFilter, addMacros, addLanguageVariables, addRestService, addPortlets, addSpringController, addJob.

The idea is that users only need to call 1 method and that everything is handled for them automatically. Maybe the names of the methods are wrong, and I saw that some changes were made in the class, but I think the basic idea is there.