sourceMapBasepath accepts a function that returned the path

Closes gh-134.
v0.10.0 changelog