Block cipher reset tests

Unit tests for most block ciphers to test reset of state on encrypt/decrypt, init and reset.

Fixes for TEA, XTEA, GOFB and PGPCFB issues exposed by those tests.