Allow turning of trap_fpe in debug mode

closes #3595

@shanestafford this should enable you to use FP_INFINITY in your tests, just make sure that you using the cli_args option if you create a test that will run in debug mode to pass the --no-trap-fpe flag.