Corrected bug in get_service_references()

If no service matches the given specification or LDAP filter, the
filtering loop on service references must be ignored.

Note: maybe this method should be removed...
Added a test for component handler inheritance

Tests if a component can ignore the configuration of the Provides
handler of its parent, and if it can extend it.