Added basePath functionality.
Merge branch 'master' of https://github.com/Collap/collap-core