Stub test skipping on Emacs 24.3

If ERT cannot skip tests, we fake the corresponding functions to signal
a custom error, and mark all tests as expected to fail on this error.

Not nice, but works :)
Simplify GPG check