assets: bundles cleanup per request

* Stores bundles on request context stack.  (closes #2290)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: fix PLUpload in IE9

* Enables 'html4' runtime in PLUpload.

* Forces IE9 standard mode.  (PR #2299)

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
legacy: bibrecord scripts move

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: fix for run_sql import in bibrecord

* Addresses issue with imports outside application context.
  (closes #2295)

* Amends imports from `invenio.legacy.bibrecord.scripts`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: fix default integer constructor

* Addresses issue with default constructor on types that do not
  accept arguments in SQLAlchemy>=0.7. (closes #1776)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>