Added support for changing the default log file extension from .php to whatever is preferred. example (.log)

This is a follow up to this pull request.

https://github.com/EllisLab/CodeIgniter/pull/2243