Right icon when adding a file in docman using webdav

Remove useless code in soap now used directly in docman

Some refactoring + remove mime_type from soap

detect mime type in other case

Change-Id: If693de786ceaceaef39c479ae4ed1798b3ca4da6
Merge commit 'refs/changes/57/357/3' of http://gerrit.tuleap.net/tuleap into stable

* http://gerrit.tuleap.net/tuleap:
  Right icon when adding a file in docman using webdav
This is Tuleap 5.12.99.25