substitution of the old license with the new one inside the classes
re-fix exceptions
fixed stats service stubbing for functional tests
added functional tests for stats
centralised stats event testing and extended to all the due parts
Merge pull request #57 from eux/master

issue #28 license substitution in files