Add extra cond. in hasmanyfield
Refactoring meta data. Fix autoslugfield and treemodel.