Fix: Invalid arguments ($params format) for Session::setFlash()
Fix: Check for mcrypt availability and adjust default in settings.json

Closes #565