Look at NI instead of PRI in ps output on Linux

The PRI field is the Linux kernel scheduling priority which is
different from the niceness of a process (which is what a system
adminitrator and policy-writer is likely to want to select upon). This
value is almost always larger than 20, so it isn't selectable if the
defined range per the documentation is -20,+20 anyway.
cosmetic change
Checking for ioctl() return code in GetMacAddress()
Keep loopback interfaces, closes #1112
Don't grab mac address on interfaces having IFF_LOOPBACK flag
Add GetInterfaceFlags() to get NIC flags
Reduced shift/reduce warnings to 1 due to reorder error state for bundle statements
Removed LICENSES checks that were omitted from 1b64d2d278b9.

That check is not valid anymore outside of Nova code.
Typo
Merge pull request #535 from cduclos/master

Typo
Merge pull request #534 from kacfengine/licenseLeftovers

Removed LICENSES checks that were omitted from 1b64d2d278b9.
small fix in reference doc, the example for process_notes was incorrect
Add ConstraintSyntaxNew macros
Merge pull request #536 from jremond/fix_typo_process_count

small fix in reference doc, the example for process_notes was incorrect
Merge pull request #533 from basvandervlies/promiser_reduce_fix

Reduced shift/reduce warnings to 1 due to reorder error state for bundle statements
Check for missing closing brace '}' + 3 unit tests.
Add PromiseTypeSyntaxNew macros
Merge pull request #537 from basvandervlies/bundle_body_forgot_cb

Check for missing closing brace '}' + 3 unit tests.
use yyleng instead of strlen(yytext)
Unionize range in ConstraintSyntax