merged branch rel21 (up to r4038) back into trunk

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