Inserting CLI verification in 'application/core/Exceptions.php'.

Inserting CLI verification in 'application/core/Exceptions.php' based in https://github.com/EllisLab/CodeIgniter/pull/2279

Signed-off-by: willmendesneto <willmendesneto@gmail.com>