change to use pool_allocator namespace
modify structure name because of conflict, should use namespace
method to check if type in tuple
remove PERSISTENT flag because always used
multiple properties in TRIGGER, clean-up code

fixe property constructor to avoid subtle cast problems when using
triggers