BUG-1281: fix SchemaContext module ordering

This patch fixes the wildcard lookup and optimizes it by precomputing
the revision.

Change-Id: Icad0a9435aacc4b5401130608833d2cb45e3624f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Merge "BUG-1281: fix SchemaContext module ordering"