fix(preprocessor): resolve relative patterns to basePath

Merged from master to stable.

Closes #382

Conflicts:
	lib/config.js
	test/unit/config.spec.coffee
test(e2e): remove **/ prefix from coverage

As it should not be required anymore...