UserGuideSamplesRunner.groovy

Fixed the tests. On some environments (like mine) the checksums generated by ant are different than the expected values. HOWEVER our test should depend on the ant output too much especially when we just want to test if gradle works with ant. - relaxed assertion so that it uses regex for checking the antChecksum sample - extended the sample runner in a very simple way so that it supports regexp