Query n hooks

From my tests this is a very useful little help for integrate posts and topic creation (and maybe other inserts... and I always considered the current way fragile TBH).