SP2010 Upgrade to $.fn.SPServices.SPGetCurrentSite

Make use of _spPageContextInfo.webServerRelativeUrl /*and window.location.origin*/ in SP2010+ to avoid extra roundtrip where unnecessary.