Behaviour of encrypt and decrypt methods when mcrypt is not loaded

Throw an exception when the mcrypt library is not loaded. Also I adapted the test for this new behaviour. Another alternative is not change the tests and fail when the mcrypt is not loaded.