BibRank: temporary file storage in CFG_TMPDIR

* Stores temporary data files used for plotting in CFG_TMPDIR
  instead of CFG_WEBDIR.
  Adds explicit 'bibrank_grapher_' prefix.
  This is not helping, but nor worsening the creation and
  servicing of graphs in load-balanced setups.

* Temporary directory set using 'dir' parameter instead of
  'tempfile.tempdir'.  (addresses #1594)

* Makes use of safer tempfile.mkstemp (instead of tempfile.mktemp).

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-0.99' into maint-1.0

* maint-0.99:
  BibRank: temporary file storage in CFG_TMPDIR

Conflicts:
	modules/bibrank/lib/bibrank_grapher.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BatchUploader: avoid tempfile.tempdir redefinition

* Temporary directory set using 'dir' parameter instead of
  'tempfile.tempdir'.  (closes #1594)

* Makes use of safer tempfile.mkstemp (instead of tempfile.mktemp).

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BatchUploader: avoid tempfile.tempdir redefinition
  BibRank: temporary file storage in CFG_TMPDIR

Conflicts:
	modules/bibrank/lib/bibrank_grapher.py
	modules/bibupload/lib/batchuploader.py
	modules/bibupload/lib/batchuploader_engine.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BatchUploader: avoid tempfile.tempdir redefinition
  BibRank: temporary file storage in CFG_TMPDIR