backported if statements from hydro-devel 

If statement support are really interesting and worth sharing with users constrained to stick to groovy for some more time.

backported if statements from hydro-devel and improved float evaluation for unless also.
backported logic statements test including unless.