More docs in the mof file
Support for Mode argument in ApplySettingToIPNetworkConnection

Mode argument is use to differentiate between applying connection
immediatelly and setting it as default.
Use IPNetworkConnection instead LANEndpoint when creating connections

Using IPNetworkConnection is more consistent with other methods.
LANEndpoint should be used just for hardware description and not for
connection manipulation.
Remove nonused values from ValueMaps in the MOF

The documentation is much more readable when only valid values for
ValueMaps are present.
Assume that connection has autoconnect true

When NM don't specify autoconnect in the connection description it means
that autoconnect is true.
Various logging improvements

* always write logging messages to stderr in debug mode
* init logging before creating thread
* silence some output in unittests
* support printing boolean in print_hash_table
test: Fix missing object rename in test_object
Simplify creation of LMI_IPElementSettingData instances
test: Improve bonding test and disable it due to NM bug

Bonding test was adapted to new API, but has to be disabled because of
NM bug: https://bugzilla.redhat.com/show_bug.cgi?id=928792
Fix converting string to IPv6 GByteArray
Rework setting creation methods

Methods CreateStaticSetting, CreateDHCPSetting and CreateSlaveSetting was
renamed to CreateOrModifyStaticSetting, CreateOrModifyDynamicSetting and
CreateOrModifySlaveSetting.

All of them now can be used to modify existing setting when SettingData
input argument is supplied.

CreateOrModifyStaticSetting now supports multiple IP addresses,
netmasks/prefixes and gateways -- it's more aligned with
ExtendedStaticIPAssignmentSettingData class.
Don't use tmpfile, use mkstemp instead
Fix many memory leaks found by coverity
Fix missing break in switch
Fix wrong condition (was always true)
Do proper error handling when return instance fails

Don't use KReturnInstance because it returns from method without any
deinitialization or error handling.

New ReturnInstance macro returns false when the return of instance fails.
Simplify creation of IPAssignmentSettingData

Use one common function to create instances of all following classes:
* LMI_IPAssignmentSettingData
* LMI_ExtendedStaticIPAssignmentSettingData
* LMI_DHCPSettingData
New model for creating connections

Now all network connections are created via LMI_CreateIPSetting method of
LMI_IPNetworkConnectionCapabilities. Modifications are done using ModifyInstance
method (will be part of subsequent commit) of the instances of
IPAssignmentSettingData (and subclasses).
Renumber internal enums to match the schema

Use same indexes for internal ConnectionType and SettingMethod enums as for
LMI_CreateIPSetting parameters and AddressOrigin properties.
Support for IPAssignmentSettingData modification

ModifyInstance implementation for LMI_IPAssignmentSettingData and
LMI_ExtendedStaticIPAssignmentSettingData.