Callbacks, if they're called within an array, support a 'last in iteration' boolean
Assume that it's the last in the iteration (until told otherwise)
updated the _set_database method to use a class variable for the database connection - this way, we don't override the global CI database variable
fixed typo
updating the tests to use _database instead of db
updating to load 'active_group' database if one is not defined
making _database public
Merge pull request #104 from swatkins/master

Use local database variable instead of CI `$this->db`
Fix - use _database instead of db