Upgraded to a new version of AinORM.
Fix for GET casesForUser with the new AinORM.
Merge pull request #15 from Rovanion/newOrm

Upgraded to a new version of AinORM.