base: demosite cleanup

* Prevents the demosite command to load the testsuite init script.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
formatter: type check of recid in BibFormatObject

* Checks type of recid when creating a BibFormatObject. If the recid
  is not passed as integer, it will cast it and alert the admin.

* Cherry-picked from d66c87f54413f8c871749e86a0f41c50d2d645d5
  inspirehep/ops/prod.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: int or long type cast of recid

* Converts recid to int when it is taken from the marcxml.

* Cherry-picked from c614bcc7fe22531b11c68ac29aca73bc6fb73169
  inspirehep/ops/prod.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>