Ext: Only write-out repaired layout if it has changed
Inform user when icon layout has been repaired
Avoid including empty arrays in the repaired icon state
Use a single orphaned icons array for both the dock and the root folder

NOTE: This results in better redistribution of icons when the previous layout
      had a lot of icons in the dock.
Updated repair function to support folders in the dock

NOTE: Credit goes to Greg Smith (@smitty078) for noticing this bug and
      suggesting a fix.
On alerts, use 'Dismiss' instead of 'OK'
Always reload the layout when "repair and reload" method is called

NOTE: This method had worked before due to the fact that the repair
      function had always returned a modified icon state (thanks to
      the empty arrays issue, fixed a few commits prior).