updated to compute coverage directory at runtime

makes use of the same useragent as karma’s to parse PhantomJS’s webpage
userAgent and then uses it to set karma_sonar’s source property at
runtime