Fix newline standardization.

Signed-off-by: Eric Roberts <eric@cryode.com>
Merge pull request #2198 from cryode/bug/input-newline

Fix newline standardization.
Remove unnecessary defined('ENVIRONMENT') checks

As suggested in issue #2134 & PR #2149
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop
Add ENVIRONMENT constant to unit tests