unit tests for encryption updated
encryption upgraded to use phpcrypt library
encryption: enabled mcrypt by default
tpl driver yf: updated {const()} to use php built-in constant() function
encryption: removed old php implementations of cast-128 and blowfish due to bugs with 64 bit platform and outdated code, replaced with phpcrypt lib