Add a new kind of db enc./pbkdf test type to cmd_export.sh
bcrypt/sha2.c: sync. with upstream r1.14 - r1.16

Also, instead of swap32()/swap64(), use Linux specific functions for
byte swapping (e.g.: htobe64() and friends).