Added path normalisation to development mode.
Using native array map method.
Added path normalisation to production mode.
Can specify paths to store js and css output.
Tests reflect new behaviour.