Add ability to re-write URLs with injected helper functions; makes it possible to map s3:// to file:// for instance.
Merge pull request #3 from apinstein/master-urlRewriting-alan

Add ability to re-write URLs with injected helper functions; makes it possible to map s3:// to file:// for instance.