NTLMv1: Bugfix, and compact the hash functions (before merging the new stuff to
mschapv2)
MSCHAPv2: SIMD support and exploitation of weakness just like NTLMv1 (the
formats are very similar)

(cherry picked from unstable)

Conflicts:
	src/MSCHAPv2_fmt_plug.c
NTLMv1 and MSCHAPv2: reject hashes in valid() as hinted by Solar.
Implement ldr_sort_salts(), currently hard-coded to only apply to wpapsk
formats. In the future we will probably want a format struct entry for
format->methods.salt_compare().
Bugfix for Jim's patch. Some debug functions were not static, and they
were included several times for GPU builds so the compiler bailed. Also
wrap that debug stuff in WPAPSK_DEBUG.