Added support for specifying a basePath, changes behaviour of the plugin
Join var declarations
Added test cases
New release
Merge branch 'basePath'