Moving document generation to a member function of the given class

What did I do?
* Deprecated all `_pdf_create` functions
* Moved all the logic of `_pdf_create` functions to a generateDocument function of the object
* Common code is moved to the protected function `CommonObject::commonGenerateDocument`
* Supplier object models had 2nd argument in their construct. I've removed them as it was not needed.
* Replaced all deprecated calls to `_pdf_create` functions to the new generateDocument one.