Changed Snippet and Category view implementations to record snippet and category ids instead of instances and to fetch instances from database as required. This should help with some problems of referencing freed instances.
Authored by: delphidabbler 2011-10-22
Parent: [r1627]
Child: [r1629]