Support for file report and different formats

I added support for file report and different formats - can you check it and give me some advices what could it be better?

I need json and xml reports - Finally You can benefit from my work if You want and merge this PR :)

PS. I don't know too much groovy and this is my first "plugin" for gradle so maybe ma solution isn't optimal, but it works :)