Self testing GB computation, detect duplicate polynomials.

* Self testing GB - not evaluated on AES but on the approximation itself.
* Ability to detect duplicates in polynomials in input basis, using MD5(polynomial) for computing hash value.