Added check to KeyGenUtils' getSecretKey to verify it is a valid length. Also added version of all methods that take ByteBuffers instead of byte[]s.
Added modulusSize to KeyPairType
Improved Key dervation in KeyGenUtils
Merge branch 'KeyGenUtils' into GSoC2014-crypto-api
Started to add deriveIvParameterSpec to KeyGenUtils
Added a getIvParameterSpec that takes ByteBuffers to KeyGenUtils
Merge branch 'KeyGenUtils' into GSoC2014-crypto-api

Conflicts:
	src/freenet/crypt/KeyGenUtils.java
Moved more methods to take and output higerlevel objects. Cleaned up/worked on ERAT more.