Fixed tests for KDF in KeyGen
Fixed length test for getSecretKey in KeyGenUtils and fixed related unit tests.
Merge branch 'KeyGenUtils' into GSoC2014-crypto-api

Conflicts:
	test/freenet/crypt/KeyGenUtilsTest.java
Added a ton of unit tests for CryptSignature. Fixed a few things in ERAT