[BISERVER-10974] using a <pen:list> or <pen:bean> inside the services spring file causes an exception. Removing the parenting of the services applicationContext to the main applicationContext as this was causing the issue.

 - Added unit tests to verify changes
 - Capturing the ID of published beans as an attribute to facilitate querying for.