Make sure References node is always first.
+ avoid double NotifyRefresh for Project node
Oops, introduced a NPE when using SourceControl overlays
Merge https://github.com/fdorg/flashdevelop into dev