Add validation of project file to CppCheckMojo, ensures that packaging and projectFile type match.
Add packaging to unit test pom.