PerlCriticParser fixed, when no filename is in the warning. JunitTest
implemented to test the createWarning method of the parse. Warnings logs
for the tests added.