fixed #1568 indextool check for hit positions
added duplicate id count to index header (index version 40)
added total-duplicates to indextool dumpheader


git-svn-id: http://sphinxsearch.googlecode.com/svn/trunk@3921 8b96e2b9-35c5-2c16-bc47-5122d61876d4