Update index.js 

Changed JUnit xml preparation. Added new flag(sonarFormatFlg) to control xml preparation.if flag not mentioned or set as flase it will produce junit xsd.if it is set as true then it will format xml in sonar format  way.