rewrite store trigger: override breaks

Fixes #14. Store triggers cannot be overridden because of
https://bugs.launchpad.net/openobject-server/+bug/893079
I think you're right @PCatinean, but IMO it is easier to keep the same code as the original.