Added Basic framework for the sync panel.
Started work on conflict and merge handling.
Added a legend button to the map which will expand into a legend for each layer when clicked
Moved 'zoom to world extent'  to a proper button on the map and added animation to the zoomToExtent function.  Also modified the legend to use the getFeatureLayers function rather than doing the same logic itself.