Added support for new API methods in the Client library (Network, Device, Notification and Command filtering; get/update current user).
Added support for device command ordering by Status.
Code cleanup.