CDN: Fix for // urls and check itself moved to function isRemote

Did not work previously with CDN url starting with "//", like:

css!//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/ui-lightness/jquery-ui.min