Upgrade CodeIgniter to 2.2.0 (Diff against latest download, catching some missed changes)
Reformat non-CodeIgniter code to PSR-1/2 (ie. everything but the system directory)
Database: Set default sql_mode  (strict mode, with extra options to block invalid dates)
Notifications and error handling:
- Improved backtrace output;
- File paths are relative to project root;
- Notifications can now be passed an exception that will automatically be appended to the message;
- Increased the limit for _REQUEST dumps (and made it a property for easier tweaking);
- Fix fallback email usage in shutdown handler
Index.php: Set default encodings / charset
Logging / CLI:
- Color support;
- Ability to log to memory
Models:
- More flexible implementation of fetchBySearch, so we have to override the entire method in less cases;
- fetchBySearch special values now all start with _;
- Trigger an error if we try to pass an empty array to escapeArray (CI tends not to handle empty arrays well)
Router / Loader overrides:
- Loader: Add a method to retrieve all vars from loader;
- Router: Improved 404 handling
Form Helper:
- Escape default values in the same way as normal values;
- Handling for DateTime objects
File Library: Methods to retrieve the maximum file upload size and convert file sizes between human readable and bytes