Send 'getstatus' response when any technology is enabled/disabled

All subscribers of 'getstatus' for both com.palm.wifi and
com.palm.connectionmanager should be notified whenever wifi or wired
technology is enabled/disabled.

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: Idc1e42fbbca93a3942e454e21967405416e31fdd
Reviewed-on: http://g2g.palm.com/1529
Reviewed-by: Build Verification
Tested-by: Sapna Todwal <sapna.todwal@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Don't modify pointer inside processing method but work on a local copy of it

Changing a pointer given as input parameter of a method and changing it is rather bad
style. It's more appropiate to make a local copy of the pointer inside the processing
method and work on this one and leave the outside one in it's original state.

This improves readability of the code a lot.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't chain more than on if-statement if not needed but use if-elseif construct

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Drop initialization of structure fields to NULL

It's unneeded as API documentation of g_new0 says:
"Allocates n_structs elements of type struct_type, initialized to 0's."

See http://developer.gnome.org/glib/2.30/glib-Memory-Allocation.html#g-new0 for details.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>