Fix editor canvas admin bug found by TR

The `grab-caret` method's argument is supposed
to be optional according to the documentation.
Fix arity of `write-to-file` method in text%

Found via TR. The two last arguments are supposed to be
optional but the method only accepted 1 or 3 arguments.
attempt to clarify define-match-expander behavior

(that confused me)
2013 -> 2014
Use pretty-printing for all TR REPL commands
Add doc examples for other TR REPL commands
Fix type printer test

Forgot to change the test string for commit
b5bc36391693baa1b1953f7860d2d0b0821e9830
Export `type-mismatch` and use pretty-printing

Previously, the internal `expected-but-got` handled the
pretty-printing but it makes more sense to do it in
`type-mismatch` since it's useful for other modules.
Update TR mutation error message to new format
Make TR tests pass with contracts on again
scribble: `++args` for passing command-line arguments to documents
racket/gui win32: fix handling of @2x bitmaps

Closes PR 14310
fix contract test case
Allow other kinds of for clauses in for/hash:

Closes PR 14306
run-collapsed doesn't work with WXME mode
Fix debug printing mode for pretty-printed types

Previously, pretty-printing for types would override the
debug mode by bypassing normal printing. Instead, switch
the `pretty-format-type` function to a debug version when
in debug mode.
Fix a printing bug for some type results
remove redundant comparison

Closes PR 14296
on BSDs, avoid `seconds->date` conversion that won't fit

On FreeBSD and related systems, calling localtime() on an out-of-range
value (e.g., where the year doesn't fit in 32 bits) still returns a
tm pointer, instead or returning NULL for an error. To avoid this
problem, restrict the argument to 51 bits (which seems like a lot
of bits, but is still confortably away from the overflow point).

Closes PR 14305
configure test for powl(), which is used for extflonums