Fix some incompatibilities with Kohana_Database:
  - __construct() must be public
  - query() now takes a lot more args.
Rip out the hand-rolled global data support since it's back in K3.
Simplify render().  Not sure if that works yet.
Fix __construct API to take $name.
Rename Gallery_I18n::_cache to _message_cache to avoid conflict with static Kohana_I18n::_cache.
Add back in a stray missing semicolon.
Use the correct capitalization for the Item model.