platform: better detection of OLPC Mesh interfaces

Instead of just looking at the udev tags, also look for sysfs entries
that the libertas driver uses when mesh is enabled.
wifi: remove supplicant pending action if supplicant init fails

If the supplicant interface object never successfully initialized, remove
the pending action to prevent warnings about "pending action already added"
when supplicant_interface_acquire() adds the pending action again.
olpc-mesh: mesh device is only available when Wi-Fi companion is found

The mesh and Wi-Fi companion share radio hardware and firmware resources
and you need both to exist for the mesh to function properly and to
ensure that the Wi-Fi and mesh sides cooperate correctly for scanning
and activation.
merge: make Wi-Fi/OLPC Mesh support a plugin and misc cleanups (bgo #728432)
docs: ignore private nm-test-utils.h header
core: refactor to return const GSList * from nm_manager_get_devices()

Signed-off-by: Thomas Haller <thaller@redhat.com>
platform: assert libnl alloc functions against out of memory

Signed-off-by: Thomas Haller <thaller@redhat.com>
wimax: recognize WiMAX devices as Generic if no WiMAX plugin is loaded
core: log when creating Generic device when a plugin is missing

Log when a plugin is missing for link types that should have plugins.
devices: simplify plugin type checking

Instead of having a GObject property and a factory function to get
the plugin's device type, just use the factory function, since it
always has to be around.
wwan: implement plugin symbol visibility

For the factory, the only public symbols should be the factory functions.

For the WWAN library, the only public symbols should be those that
NMDeviceModem and NMDeviceBt use.
bluez: implement plugin symbol visibility

The only public symbols should be the factory functions.
adsl: implement plugin symbol visibility

The only public symbols should be the factory functions.
wimax: implement plugin symbol visibility

The only public symbols should be the factory functions.
merge: device plugin cleanups and symbol visibility (bgo #728432)

https://bugzilla.gnome.org/show_bug.cgi?id=728432
wwan: fix broken wwan plugin due to undefined symbol

Regression, introduced by 4a58ff0807e9d6b5dd6f465ffd4566d18a563c13.

Fixes error loading the wwan plugin:
  <warn> (libnm-device-plugin-wwan.so): failed to load plugin: /usr/lib64/NetworkManager/libnm-device-plugin-wwan.so: undefined symbol: nm_modem_manager_get_type

Signed-off-by: Thomas Haller <thaller@redhat.com>
contrib/rpm: update spec file to exclude disabled plugin files

When plugins are disabled (which is configurable), the additional files
must be excluded. Otherwise rpmbuild fails with:
  Installed (but unpackaged) file(s) found:

Signed-off-by: Thomas Haller <thaller@redhat.com>
contrib/rpm: update spec file adding new wifi plugin NetworkManager-wifi

Commit a544aa374eaf603916b4b00a732378d8c96392c1 extracts the wifi device
into a shared library. Update the (currently broken) default spec file to
build the new package NetworkManager-wifi.

Signed-off-by: Thomas Haller <thaller@redhat.com>
contrib/rpm: update build_clean.sh script to work with older version of git

Signed-off-by: Thomas Haller <thaller@redhat.com>
cli: fix ambiguity of "o" (on vs off) in nmc_string_to_bool()