Bug 922558: add PredicateContext to sdk/context-menu

As noted over on https://bugzilla.mozilla.org/show_bug.cgi?id=922558, everything but documentType is implemented.