device/device/utils/unix/events: Adds unix event handling functions
device/device/utils/unix/events: Adds unix event handling functions

Moves inotify related functions into this file too as they were tightly coupled to the unix event handlers.

Signed-off-by: Thomas Parrott <6b778ce645fb0e3dde76d79eccad490955b1ae74@canonical.com>

stgraber/lxd,stgraber/lxd,hallyn/lxd,atxwebs/lxd,hallyn/lxd,stgraber/lxd,stgraber/lxd,Skarlso/lxd,Skarlso/lxd,stgraber/lxd,mjeanson/lxd,hallyn/lxd,atxwebs/lxd,Skarlso/lxd,hallyn/lxd,hallyn/lxd,atxwebs/lxd,Skarlso/lxd,mjeanson/lxd,lxc/lxd,lxc/lxd,hallyn/lxd,lxc/lxd,lxc/lxd,lxc/lxd,lxc/lxd,stgraber/lxd,atxwebs/lxd,mjeanson/lxd,lxc/lxd,stgraber/lxd