loci: fix byte swapping on OS X

The endian.h functions don't exist on OS X, so use the LOCI versions instead.
Also change the byte order macro used to one that's defined on both Linux and OS X.
Merge into master from pull request #208:
add debug as pktin reason (https://github.com/floodlight/loxigen/pull/208)
loci: add a function to parse messages without allocating memory

This will be used by the Indigo connection manager to parse messages directly
from the read buffer, saving three allocations and a memcpy.
Merge pull request #6 from floodlight/master

Merge from upstream.
removing undesired padding from action_id structs
Merge into master from pull request #209:
loci: add a function to parse messages without allocating memory (https://github.com/floodlight/loxigen/pull/209)
loci: chunk multiple classes into each C file

Parsing headers was taking more than half of the compile time for many classes.
By putting multiple classes into a single C file we amortize the cost of header
parsing. These C files are still much smaller than the old loci.c.

I also experimented with chunking the list and header class files, but there
are relatively few of these and so there was little gain.

The code size reduction is presumably due to better sharing of code between
similar classes. Since the classes are sorted by name before chunking the
action, instruction, etc inheritance hierarchies will be grouped together.

Results:
time make -j4 loci.a: -44% (27.4s to 15.4s)
strip loci.a && du -sh loci.a: -25% (2.3 MB to 1.7 MB)
removing instruction_id. Instructions don't seem to act like actions.
removing tmp comments
removing OFPadMembers before calc_lengths is called
removing comments and unused import
adding test case for action_id_output
adding java test
removing unrequired line from test
Merge into master from pull request #211:
Remove padding from action_ids. (https://github.com/floodlight/loxigen/pull/211)
openflow_input: add bsn_acl extension

These instructions are useful for expressing control flow in ACL tables.
loci: support bsn_acl
Merge into master from pull request #212:
add bsn_acl extension (https://github.com/floodlight/loxigen/pull/212)
Merge pull request #7 from floodlight/master

Pull from floodlight
adding instruction_id type for table feature prop types