idiorm used completely in Quiz class, no dependency on $container['db']
Only Session class remains to use idiorm.
Fixed some minor db issues, namely no id column in questions table required by idiorm.