tests: Improve software datapath tests

This now checks packing in a seperate set of tests.
Also cleans up some formatting.
datapaths: Fix port name generation

Port names generated by _generate_port() were longer than allowed.
This changes how they're generated so that they're still useful
but a bit shorter.

Thanks to damonmeen for the bug report.

Closes #65