OSX: Added drag/drop from marker to segment. Fixed bugs in segment order update.

- Can now drag a marker to the segments table view to create a segment
automatically from a marker
- Added OnAddSegmentFromMarker action to ILoopDetailsView + presenter
- Fixed several bugs where the segment order would not be updated or
restored correctly from the database