https://github.com/BBC-News/Imager.js/issues/45

@Integralist 

Really simple PR.

makes working with regex's slightly easier as they can be environment agnostic even if the image path needs to be fully qualified (i.e. a cdn), defaults to relative pathing..