OSX: Can now change segment orders (table view drag/drop rows).

- Added delegates for the Segments table view for supporting drag/drop
of rows.
- Added SegmentIndex field to Segments table in database.
- Added ChangeSegmentOrder action to LoopDetailsPresenter; order is now
saved to the database and is restored.