Fix Categorize Module

I made some changes to Model adapter of Categorize module, it now works here with PDO/SQLite.