- moved all static functions into class but kept old functions for backward compatibility
- add static function getDocument() to LetoDMS_Document but kept the old function getDocument() until all calls has been changed to LetoDMS_Document::getDocument()