[connman] fix memory access error when send "Hidden" to dbus

dbus_bool_t (32bit) and bool are two different types and has different
size.
Merge pull request #156 from wengxt/master

[connman] fix memory access error when send "Hidden" to dbus
[connman] storage: add init and cleanup routines

In preparation to storage optimization, add storage init and cleanup
routines that are to be called before storage is used.
[connman] inotify: add user_data pointer to inotify callback

It's useful to have a callback data pointer to handle events
from multiple locations in the same callback.
[connman] storage: cache service and provider information

Instead of browsing STORAGEDIR every time connman_storage_get_services
or connman_storage_get_providers is called, read directory contents
once into a cache that is updated based on inotify events.
[connman] storage: Settings file read caching

Implemented a read cache for settings files, so that files are not needlessly
read and parsed every time some configuration values is needed. To keep things
simple, any modification of the file on disk will drop the corresponding cache
entry and on next access the file will be re-read.

In order for caching to work, replaced g_key_file_free() with g_key_file_unref()
overall.
[connman] storage: Debug routines

Added debug functions to print out inotify events and
current service list contents.