Added automatic update of connected state

Added automatic update of device session connected state upon successful
disconnect call.
Merge branch 'master' of github.com:ixonos/libsensact