In qast_trig.t compare to a given epsilon as we get slightly different results for different implementations of trigonometric functions.

Add qast_output_is_approx to t/helper.t we use for that.