Incorporated the notion of source file tasks as distinct from other possibilities including test tasks and pipeline tasks. In addition the jsTask function has been simplified in terms of its parameter requirements.

Also added in the new PathMappings behaviour.