bsn_in_ports_masked extension

Reviewer: @andi-bigswitch

Java portions contributed by @yotamhc.

The C backend didn't support additional OXM classes beyond OpenFlow Basic. I made the minimal change to get this to work, but it's a hack.