CRAFTERCMS-266: RTE -Images URLs contain crafterSite value in code view

The crafterSite value was added to the URLs because the crafterSite
cookie with the same information (i.e. siteName) didn't seem to always
work. Fixed the cookie by setting it on page load (DOM Ready), thus the
crafterSite value was removed from the URLs.
CRAFTERCMS-178: Mouseover tooltip in site dropdown missing 'Locked by'
Merge remote-tracking branch 'david/master'
CRAFTERCMS-185: 'Collapse All' doesn't work properly
Merge remote-tracking branch 'david/master'
CRAFTERCMS-182: Components folder shouldn't appear in blue
Merge remote-tracking branch 'david/master'
CRAFTERCMS-214
Modified deployment engine to use more fine grained transaction to avoid deadlocks. Added possible missing transaction.
Merge remote-tracking branch 'dejan/CRAFTERCMS-214'