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.