Add a `check` target to mcs/errors/Makefile.
Add .gitignore file in mono/arch/arm64.
Backport some changes from nunit/nunitv2 that hopefully fix some test agent hangs.