Add a monkey patch for DCWorkflowGraph.

* Use Localizer to translate Workflow States/Transitions title.
* Use IPAexGothic to make sure that Japanese is displayed properly.

Also, make sure that all the files are properly closed even if an exception
occurs thanks to with and NamedTemporaryFile.
A new Z SQL method has been introduced in 'Fix an inventory bug', so fix
banking bt5 which override z_catalog_stock_list.

Just copy z_catalog_stock_list.xml as the new Z SQL method in banking bt5 as
it does not make sense to have more than 300 Inventory Lines in this case.
Default Accounting Transaction Module sorting has been removed (8f9bc61) for
performance reasons, so fix improved listbox sort feature accordingly.

This fixes testFunctionalCore failures.
Add 'does' to the closed-class words list in naming convention checking script.
DCWorkflowGraph: do not pass request params to os.system for security reasons.

Also, remove copy and paste code from DCWorkflowGraph in ERP5Workflow and
allow to override getPOT() like ERP5Workflow does.

Signed-off-by: Arnaud Fontaine <arnaud.fontaine@nexedi.com>