Admin fix for #1 + CIBB model updates + CI Update

Fixing #1 for admin.
CIBB models are updated to use Query Builder
One function in Mahana model updated to use Query Builder (rest to
come).
CodeIgniter updates