Update index.js

when I used express-autoroute in Microsoft WebMatrix, the path returned from require.main.filename is not correct, so maybe we need get the path from current working directory. But I don't test it in Linux environment, I'm not sure it will also work well.
Update index.js
Merge branch 'patch-1' of https://github.com/JueLance/express-autoroute into develop

Conflicts:
	index.js