updates to match codeigniter 2.1.3 session class

As well as a few bugfix and suggestions, see commit comment for details, let me know what you think.