Build and install the tests jar artifact

Distributing the tests jar artifact will allow the authors of custom checks to extend test classes available in checkstyle project.