Fix relative path issue #293

Added option 'basepath' so that long filenames in the reports can be avoided. For example, by passing '/foo/bar/' as basepath, paths like '/foo/bar/src/index.js' will be transformed into 'src/index.js'.