Can choose between two event from inotify either CLOSE_WRITE or MOVED_TO

Fixed a bug in inotify wrapper
Buffer synchro optimisation: As it's ordered, don't need to do a second find
Add the posibility to add buffer callback in file event manager

Add debug trace in file event
merge pilatus2 and 3