BibDocFile: fix javascript on /record/managedocfiles

* Downloads properly jquery.form.js from bower.io
* Reorders the `<head>` so the bundles are present when some legacy script tries to inject what it has to[1]
* Adds a dummy script to preload UMD/AMD-ready modules to be used outside a require.js context (dirty hack, but it works)

**NB:** the uploads triggers a 500 error:
```
...
File ".../invenio/legacy/bibdocfile/managedocfiles.py" line 1819, in wash_form_parameters
  form_file = form_field.file
AttributeError: '_io.BytesIO' object has no attribute 'file'
```

ping @pbroz -- fixes #1900

[1]  in the most dirtiest way possible (of course).
1: D400 First line should end with '.', not 's'
1: D205 Blank line missing between one-line summary and description
80:6: E126 continuation line over-indented for hanging indent
90:6: E126 continuation line over-indented for hanging indent
93:6: E126 continuation line over-indented for hanging indent
95:6: E126 continuation line over-indented for hanging indent
106:1: E302 expected 2 blank lines, found 1
106: D401 First line should be imperative: 'Return', not 'Returns'
442:31: E128 continuation line under-indented for visual indent
443:31: E128 continuation line under-indented for visual indent
444:31: E128 continuation line under-indented for visual indent
448:81: E502 the backslash is redundant between brackets
460:31: E128 continuation line under-indented for visual indent
461:31: E128 continuation line under-indented for visual indent
465:68: E502 the backslash is redundant between brackets
466:48: E502 the backslash is redundant between brackets
467:62: E502 the backslash is redundant between brackets
480:64: E502 the backslash is redundant between brackets
481:44: E502 the backslash is redundant between brackets
482:58: E502 the backslash is redundant between brackets
549:10: E121 continuation line under-indented for hanging indent
550:10: E128 continuation line under-indented for visual indent
551:10: E128 continuation line under-indented for visual indent
552:10: E128 continuation line under-indented for visual indent
555:16: E127 continuation line over-indented for visual indent
556:16: E127 continuation line over-indented for visual indent
565:16: E127 continuation line over-indented for visual indent
565:74: E502 the backslash is redundant between brackets
566:46: E502 the backslash is redundant between brackets
567:67: E502 the backslash is redundant between brackets
569:49: E502 the backslash is redundant between brackets
570:74: E502 the backslash is redundant between brackets
594:22: E127 continuation line over-indented for visual indent
595:22: E127 continuation line over-indented for visual indent
596:22: E127 continuation line over-indented for visual indent
596:66: E502 the backslash is redundant between brackets
603:24: E127 continuation line over-indented for visual indent
609:34: E126 continuation line over-indented for hanging indent
612:45: E128 continuation line under-indented for visual indent
613:45: E128 continuation line under-indented for visual indent
618:24: E127 continuation line over-indented for visual indent
618:72: E502 the backslash is redundant between brackets
619:84: E502 the backslash is redundant between brackets
620:74: E502 the backslash is redundant between brackets
631:74: E502 the backslash is redundant between brackets
632:42: E127 continuation line over-indented for visual indent
641:26: E127 continuation line over-indented for visual indent
641:40: E502 the backslash is redundant between brackets
650:40: E272 multiple spaces before keyword
651:26: E127 continuation line over-indented for visual indent
656:28: E127 continuation line over-indented for visual indent
740:28: E222 multiple spaces after operator
744:20: E126 continuation line over-indented for hanging indent
744:69: E502 the backslash is redundant between brackets
752:22: E127 continuation line over-indented for visual indent
766:9: E303 too many blank lines (2)
767:18: E127 continuation line over-indented for visual indent
767:67: E502 the backslash is redundant between brackets
808:59: E502 the backslash is redundant between brackets
809:25: E128 continuation line under-indented for visual indent
809:68: E502 the backslash is redundant between brackets
814:91: E502 the backslash is redundant between brackets
815:74: E502 the backslash is redundant between brackets
816:63: E502 the backslash is redundant between brackets
817:60: E502 the backslash is redundant between brackets
828:25: E126 continuation line over-indented for hanging indent
828:95: E502 the backslash is redundant between brackets
829:74: E502 the backslash is redundant between brackets
830:67: E502 the backslash is redundant between brackets
872:16: E127 continuation line over-indented for visual indent
876:40: E231 missing whitespace after ':'
887:20: E126 continuation line over-indented for hanging indent
894:12: E127 continuation line over-indented for visual indent
913:9: E122 continuation line missing indentation or outdented
920:6: E122 continuation line missing indentation or outdented
925:112: E502 the backslash is redundant between brackets
945:1: E302 expected 2 blank lines, found 1
945: D401 First line should be imperative: 'Create', not 'Creates'
945: D400 First line should end with '.', not 'c'
1008:90: E502 the backslash is redundant between brackets
1019:41: E261 at least two spaces before inline comment
1027:12: E121 continuation line under-indented for hanging indent
1043:12: E127 continuation line over-indented for visual indent
1066:12: E127 continuation line over-indented for visual indent
1102:12: E127 continuation line over-indented for visual indent
1118:9: E122 continuation line missing indentation or outdented
1120:22: E231 missing whitespace after ':'
1126:1: E302 expected 2 blank lines, found 1
1126: D401 First line should be imperative: 'Parse', not 'Parses'
1126: D400 First line should end with '.', not 't'
1126: D205 Blank line missing between one-line summary and description
1155:29: E261 at least two spaces before inline comment
1180:16: E127 continuation line over-indented for visual indent
1184:20: E127 continuation line over-indented for visual indent
1191:22: E127 continuation line over-indented for visual indent
1196:53: E251 unexpected spaces around keyword / parameter equals
1196:55: E251 unexpected spaces around keyword / parameter equals
1196:75: E251 unexpected spaces around keyword / parameter equals
1196:77: E251 unexpected spaces around keyword / parameter equals
1198:60: E231 missing whitespace after ':'
1200:56: E231 missing whitespace after ':'
1202:83: E231 missing whitespace after ','
1230:16: E127 continuation line over-indented for visual indent
1238:60: E231 missing whitespace after ':'
1240:56: E231 missing whitespace after ':'
1241:71: E502 the backslash is redundant between brackets
1259:1: E302 expected 2 blank lines, found 1
1259: D400 First line should end with '.', not 'k'
1271:1: E302 expected 2 blank lines, found 1
1271: D400 First line should end with '.', not 'k'
1284:1: E302 expected 2 blank lines, found 1
1284: D401 First line should be imperative: 'Log', not 'Logs'
1341:21: E221 multiple spaces before operator
1342:15: E127 continuation line over-indented for visual indent
1342:48: E221 multiple spaces before operator
1343:15: E127 continuation line over-indented for visual indent
1343:24: E221 multiple spaces before operator
1344:15: E127 continuation line over-indented for visual indent
1344:48: E221 multiple spaces before operator
1345:15: E127 continuation line over-indented for visual indent
1346:15: E127 continuation line over-indented for visual indent
1346:44: E221 multiple spaces before operator
1347:15: E127 continuation line over-indented for visual indent
1347:22: E221 multiple spaces before operator
1348:15: E127 continuation line over-indented for visual indent
1348:47: E221 multiple spaces before operator
1349:15: E127 continuation line over-indented for visual indent
1349:31: E221 multiple spaces before operator
1350:15: E127 continuation line over-indented for visual indent
1351:38: E225 missing whitespace around operator
1356:1: E302 expected 2 blank lines, found 1
1356: D401 First line should be imperative: 'Read', not 'Reads'
1356: D400 First line should end with '.', not 's'
1377:34: F841 local variable 'e' is assigned to but never used
1398:69: E502 the backslash is redundant between brackets
1408:1: E302 expected 2 blank lines, found 1
1408: D401 First line should be imperative: 'Return', not 'Returns'
1408: D400 First line should end with '.', not 'o'
1408: D205 Blank line missing between one-line summary and description
1433:20: E128 continuation line under-indented for visual indent
1434:20: E128 continuation line under-indented for visual indent
1435:20: E128 continuation line under-indented for visual indent
1436:20: E128 continuation line under-indented for visual indent
1437:20: E128 continuation line under-indented for visual indent
1438:20: E128 continuation line under-indented for visual indent
1439:20: E128 continuation line under-indented for visual indent
1440:20: E128 continuation line under-indented for visual indent
1441:20: E128 continuation line under-indented for visual indent
1442:20: E128 continuation line under-indented for visual indent
1443:20: E128 continuation line under-indented for visual indent
1444:20: E128 continuation line under-indented for visual indent
1445:20: E128 continuation line under-indented for visual indent
1449:1: E302 expected 2 blank lines, found 1
1449: D400 First line should end with '.', not 's'
1449: D205 Blank line missing between one-line summary and description
1460:67: E502 the backslash is redundant between brackets
1461:69: E502 the backslash is redundant between brackets
1461:66: E203 whitespace before ','
1462:83: E502 the backslash is redundant between brackets
1465:1: E302 expected 2 blank lines, found 1
1465: D400 First line should end with '.', not 'e'
1465: D205 Blank line missing between one-line summary and description
1477:54: E502 the backslash is redundant between brackets
1484:1: E302 expected 2 blank lines, found 1
1484: D401 First line should be imperative: 'Return', not 'Returns'
1484: D202 No blank lines allowed *after* function docstring, found 1
1484: D400 First line should end with '.', not 'c'
1484: D205 Blank line missing between one-line summary and description
1496:59: E502 the backslash is redundant between brackets
1497:40: E502 the backslash is redundant between brackets
1502:56: E502 the backslash is redundant between brackets
1506:1: E302 expected 2 blank lines, found 1
1506: D401 First line should be imperative: 'Return', not 'Returns'
1506: D400 First line should end with '.', not 's'
1506: D205 Blank line missing between one-line summary and description
1518:54: E502 the backslash is redundant between brackets
1519:20: E127 continuation line over-indented for visual indent
1524:1: E302 expected 2 blank lines, found 1
1524: D401 First line should be imperative: 'Return', not 'Returns'
1524: D400 First line should end with '.', not ','
1524: D205 Blank line missing between one-line summary and description
1540:69: E502 the backslash is redundant between brackets
1546:61: E502 the backslash is redundant between brackets
1554:1: E302 expected 2 blank lines, found 1
1554: D400 First line should end with '.', not ')'
1554: D205 Blank line missing between one-line summary and description
1576:1: E302 expected 2 blank lines, found 1
1576: D401 First line should be imperative: 'Delete', not 'Deletes'
1576: D205 Blank line missing between one-line summary and description
1587:42: E225 missing whitespace around operator
1590:1: E302 expected 2 blank lines, found 1
1590: D401 First line should be imperative: 'Washe', not 'Washes'
1590: D400 First line should end with '.', not 'e'
1590: D205 Blank line missing between one-line summary and description
1695:12: E127 continuation line over-indented for visual indent
1696:46: E261 at least two spaces before inline comment
1697:47: E111 indentation is not a multiple of four
1697:47: E113 unexpected indentation
1703:46: E261 at least two spaces before inline comment
1721:12: E127 continuation line over-indented for visual indent
1726:12: E127 continuation line over-indented for visual indent
1729:16: E126 continuation line over-indented for hanging indent
1738:16: E126 continuation line over-indented for hanging indent
1747:40: E502 the backslash is redundant between brackets
1748:63: E502 the backslash is redundant between brackets
1749:37: E502 the backslash is redundant between brackets
1750:54: E502 the backslash is redundant between brackets
1758:40: E502 the backslash is redundant between brackets
1759:62: E502 the backslash is redundant between brackets
1760:37: E502 the backslash is redundant between brackets
1761:53: E502 the backslash is redundant between brackets
1769:39: E502 the backslash is redundant between brackets
1770:60: E502 the backslash is redundant between brackets
1771:45: E502 the backslash is redundant between brackets
1771:15: E272 multiple spaces before keyword
1772:36: E502 the backslash is redundant between brackets
1774:42: E261 at least two spaces before inline comment
1776:14: E127 continuation line over-indented for visual indent
1793:35: E126 continuation line over-indented for hanging indent
1807:12: E127 continuation line over-indented for visual indent
1808:12: E127 continuation line over-indented for visual indent
1853: D400 First line should end with '.', not 'y'
1853: D205 Blank line missing between one-line summary and description
1890:29: E261 at least two spaces before inline comment
1906:24: E126 continuation line over-indented for hanging indent
1931:24: E126 continuation line over-indented for hanging indent
1941:13: E303 too many blank lines (3)
1966:20: E127 continuation line over-indented for visual indent
1970:81: E502 the backslash is redundant between brackets
1971:94: E502 the backslash is redundant between brackets
1980:58: W601 .has_key() is deprecated, use 'in'
1982:48: W601 .has_key() is deprecated, use 'in'
1985:51: E261 at least two spaces before inline comment
2020:1: E302 expected 2 blank lines, found 1
2020: D401 First line should be imperative: 'Add', not 'Adds'
2020: D400 First line should end with '.', not 'I'
2037:81: E502 the backslash is redundant between brackets
2046:57: E502 the backslash is redundant between brackets
2055:57: E502 the backslash is redundant between brackets
2060:58: E502 the backslash is redundant between brackets
2061:57: E502 the backslash is redundant between brackets
2071:38: F841 local variable 'e' is assigned to but never used
2074:69: E502 the backslash is redundant between brackets
2075:69: E502 the backslash is redundant between brackets
2076:59: E502 the backslash is redundant between brackets
2080:1: E302 expected 2 blank lines, found 1
2080: D401 First line should be imperative: 'Add', not 'Adds'
2080: D400 First line should end with '.', not 'I'
2080: D200 One-line docstring should not occupy 3 lines
2095:29: E126 continuation line over-indented for hanging indent
2102:59: E502 the backslash is redundant between brackets
2112:38: F841 local variable 'e' is assigned to but never used
2115:69: E502 the backslash is redundant between brackets
2116:71: E502 the backslash is redundant between brackets
2117:55: E502 the backslash is redundant between brackets
2119:32: E127 continuation line over-indented for visual indent
2121:1: E302 expected 2 blank lines, found 1
2121: D401 First line should be imperative: 'Revise', not 'Revises'
2156:89: E502 the backslash is redundant between brackets
2162:66: E502 the backslash is redundant between brackets
2163:72: E502 the backslash is redundant between brackets
2171:33: E126 continuation line over-indented for hanging indent
2179:70: E502 the backslash is redundant between brackets
2191:29: E126 continuation line over-indented for hanging indent
2199:80: E502 the backslash is redundant between brackets
2217:89: E502 the backslash is redundant between brackets
2222:81: E502 the backslash is redundant between brackets
2223:69: E502 the backslash is redundant between brackets
2224:67: E502 the backslash is redundant between brackets
2232:29: E127 continuation line over-indented for visual indent
2238:24: E127 continuation line over-indented for visual indent
2252:64: E225 missing whitespace around operator
2252:70: E225 missing whitespace around operator
2260:57: E502 the backslash is redundant between brackets
2268:57: E502 the backslash is redundant between brackets
2273:58: E502 the backslash is redundant between brackets
2274:57: E502 the backslash is redundant between brackets
2285:69: E502 the backslash is redundant between brackets
2286:57: E502 the backslash is redundant between brackets
2287:55: E502 the backslash is redundant between brackets
2293:1: E302 expected 2 blank lines, found 1
2293: D401 First line should be imperative: 'Delete', not 'Deletes'
2293: D400 First line should end with '.', not 'c'
2293: D200 One-line docstring should not occupy 3 lines
2319:73: E502 the backslash is redundant between brackets
2320:57: E502 the backslash is redundant between brackets
2321:59: E502 the backslash is redundant between brackets
2325:1: E302 expected 2 blank lines, found 1
2325: D205 Blank line missing between one-line summary and description
2340:36: E225 missing whitespace around operator
2344: D401 First line should be imperative: 'Create', not 'Creates'
2367:26: E231 missing whitespace after ':'
2376:81: E502 the backslash is redundant between brackets
2382: D401 First line should be imperative: 'Return', not 'Returns'
2382: D400 First line should end with '.', not 'e'
2382: D205 Blank line missing between one-line summary and description
2392:1325: E221 multiple spaces before operator
2425:9: E122 continuation line missing indentation or outdented
2426:9: E122 continuation line missing indentation or outdented
2758:1: E302 expected 2 blank lines, found 1
2758: D401 First line should be imperative: 'Return', not 'Returns'
2758: D200 One-line docstring should not occupy 3 lines