Add "Ending Byte" and compareTo method to XEvent. Ending byte will change order when sorting a list of x-events.
Merge remote-tracking branch 'origin/master'