Added a method return a number of osgi services

Note: This change was commited by Chandana.

It adds a new function to the osgi script of the server module to return all services matching the provided name.