Fixes for stacked (eg. hybrid mask) session save/restore.
Fix progress/ETA reporting for hybrid mask/stacked modes.
Wordlist mode still has coarse reporting in some situations
(mmap) when wordlist is small and mask is big.

Also ensures better keyspace capability on 32-bit systems
by using long long instead of just long, and reject hybrid
mask for Single and Regex modes or External filter, which
are not supported.
Fix some missing pieces in the Regex mode.
Cosmetic bugfix: mask_done() was called a tad too early so
final status would be empty for short runs.
Add clWaitForEvents first
mask mode bug fix and performance improvement in hybrid modes
Merge pull request #826 from VasilyPupkin/bleeding-jumbo

Add clWaitForEvents first
Bugfix for save/resume in Hybrid mode. If we are about to abort,
we must not call parent's fix_state(). Closes #823.
Further tweak for #823. In extreme test cases using -max-run=1
we sometimes did not get any progress for a (one second) run.
Change default custom masks (which resembles Hashcat's) to use
eg. a-z instead of ?l so they are not affected by internal
encoding.
Add mask placeholders ?L and ?U which is non-ASCII lower and
upper case characters.

In CP737,
?l = abcdefghijklmnopqrstuvwxyzαβγδεζηθικλμνξοπρσςτυφχψωάέήϊίόύϋώ
?L = αβγδεζηθικλμνξοπρσςτυφχψωάέήϊίόύϋώ
correction of 339052e and getting #825 working.  Prelim and not the final fix I want, but better
Reject ?L and ?U placeholders unless an 8-bit codepage is
in use.
dynamic: finalized #825 fix
net-md5 handle core for --skip-self-test. #828.  Bug much worse than just the skip-self-test case.  It could have given many false negatives
net-sha1 handle core for --skip-self-test. #828.  same bug as net-md5
rsvp format: fix valid() to avoid segfaults

... on "hashes" that don't even have the format tag, e.g. 1acbed4a27b-20da3
pkzip format: Mute warning about missing files if we're just reading pot lines.
Remove some #ifdef DEBUG, or change them to something more specific like
POTSYNC_DEBUG or DYNA_SALT_DEBUG.
Max length fixes in rules.c for internal encoding.