Add parameter to force user in dol_check_access_document function
This required by webservice where global $user is not available
Merge pull request #1067 from jfefe/3.4-fixfuser

Add parameter to force user in dol_check_access_document function