Add createScript and removeDOMElement functions

I added a createScript and a removeDOMElement, which are useful for JSONP technique. These functions will be used by other parts of OpenLayers which will be comitted later today.