[FELIX-4402] fix determination of reason for deactivation when configuration is deleted

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1611156 13f79535-47bb-0310-9956-ffa450edef68
[FELIX-4563] Turn xml reference target attributes into properties, with a test

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1611157 13f79535-47bb-0310-9956-ffa450edef68