Multiquery

I noticed some weaknesses in the multi query implementation which includes not appending proper limit clause, not allowing edit, copy, delete links etc. So I've tried to improve it here