SLING-4165 OSGi Mock: Fail-fast when calling methods requiring SCR metadata and this is not present

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