[Pre] ofctl_v1_[23]: Change to use new API of OFPMatch

Currently, ofctl_v1_[23].py uses old API of OFPMatch.
This patch change to new API in order to help lib.ofctl_v1_*
to support OpenFlow1.4 smoothly.

MEMO:
When lib.ofctl_v1_[23].match_to_str change to new API,
this patch is required some modifications.
(e.g. reduce unused import)

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
test_ofctl_v1_2/3: Fix some test cases

UnitTest of the following cases had not been executed successfully.

{'dl_src/dst': "aa:bb:cc:11:22:33/*"}
{'eth_src/dst': "aa:bb:cc:11:22:33/*"}
{'nw_src/dst': "192.168.0.1/*", 'eth_type': 0x0800}
{'ipv4_src/dst': "192.168.0.1/*", 'eth_type': 0x0800}
{'arp_spa/tpa': "192.168.0.22/*", 'eth_type': 0x0806}
{'arp_sha/tha': "aa:bb:cc:11:22:33/*", 'eth_type': 0x0806}
{'ipv6_src/dst': '2001::aaaa:bbbb:cccc:1111/*', 'eth_type': 0x86dd}

This patch fixes this problem.

Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
test_ofctl_v1_2/3: Add a test case of masked metadata

Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
[Pre] test_ofctl: Change to use new API of OFPMatch

Fix test method of match, because ofctl_v1_[23] change
to use new API of OFPMatch.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>