WebSearch: collection tree score as in next.

* Updates how the `score` value from `collection_collection` is used
  adopting next way, the lower the score the higher the position.

* Provides an upgrade recipe to update the `collection_collection`
  relationships. It changes the score setting its value from 0 to the
  number of "son collections".

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
33:6: E126 continuation line over-indented for hanging indent
45:1: F401 'language_list_long' imported but unused
54:6: E126 continuation line over-indented for hanging indent
68:22: E261 at least two spaces before inline comment
87: D209 Put multi-line docstring closing quotes on separate line
87: D205 Blank line missing between one-line summary and description
87: D208 Docstring is over-indented
90:28: W601 .has_key() is deprecated, use 'in'
96:1: E302 expected 2 blank lines, found 1
96: D401 First line should be imperative: 'Check', not 'Checks'
96: D300 Expected """-quotes, got '-quotes
103:1: E302 expected 2 blank lines, found 1
103: D401 First line should be imperative: 'Get', not 'Gets'
103: D202 No blank lines allowed *after* function docstring, found 1
103: D300 Expected """-quotes, got '-quotes
118:1: E302 expected 2 blank lines, found 1
118: D209 Put multi-line docstring closing quotes on separate line
118: D205 Blank line missing between one-line summary and description
128:1: E302 expected 2 blank lines, found 1
128: D203 Expected 1 blank line *before* class docstring, found 0
128: D300 Expected """-quotes, got '-quotes
131: D401 First line should be imperative: 'Create', not 'Creates'
131: D300 Expected """-quotes, got '-quotes
133:47: E261 at least two spaces before inline comment
134:44: E261 at least two spaces before inline comment
135:45: E261 at least two spaces before inline comment
138:31: E261 at least two spaces before inline comment
139:48: E261 at least two spaces before inline comment
140:49: E113 unexpected indentation
142:38: E261 at least two spaces before inline comment
164:22: E261 at least two spaces before inline comment
175: D401 First line should be imperative: 'Return', not 'Returns'
175: D200 One-line docstring should not occupy 2 lines
183: D209 Put multi-line docstring closing quotes on separate line
183: D205 Blank line missing between one-line summary and description
200: D400 First line should end with '.', not 'r'
200: D205 Blank line missing between one-line summary and description
239: D401 First line should be imperative: 'Return', not 'Returns'
239: D300 Expected """-quotes, got '-quotes
263: D209 Put multi-line docstring closing quotes on separate line
263: D202 No blank lines allowed *after* method docstring, found 1
263: D400 First line should end with '.', not 'e'
263: D205 Blank line missing between one-line summary and description
263: D208 Docstring is over-indented
272: D401 First line should be imperative: 'Return', not 'Returns'
272: D300 Expected """-quotes, got '-quotes
283: D401 First line should be imperative: 'Return', not 'Returns'
283: D300 Expected """-quotes, got '-quotes
306: D300 Expected """-quotes, got '-quotes
330: D209 Put multi-line docstring closing quotes on separate line
330: D202 No blank lines allowed *after* method docstring, found 1
330: D400 First line should end with '.', not 'd'
330: D205 Blank line missing between one-line summary and description
330: D208 Docstring is over-indented
343:9: F841 local variable '_' is assigned to but never used
346:32: E203 whitespace before ':'
347:32: E203 whitespace before ':'
348:32: E203 whitespace before ':'
349:32: E203 whitespace before ':'
350:32: E203 whitespace before ':'
351:32: E203 whitespace before ':'
352:32: E203 whitespace before ':'
353:69: E127 continuation line over-indented for visual indent
354:60: E261 at least two spaces before inline comment
358:81: E225 missing whitespace around operator
359:25: E127 continuation line over-indented for visual indent
362:41: E228 missing whitespace around modulo operator
366: D401 First line should be imperative: 'Create', not 'Creates'
366: D202 No blank lines allowed *after* method docstring, found 1
366: D400 First line should end with '.', not 'n'
366: D205 Blank line missing between one-line summary and description
374:42: E261 at least two spaces before inline comment
381:5: E303 too many blank lines (2)
381: D401 First line should be imperative: 'Create', not 'Creates'
381: D209 Put multi-line docstring closing quotes on separate line
381: D205 Blank line missing between one-line summary and description
381: D208 Docstring is over-indented
392:64: E251 unexpected spaces around keyword / parameter equals
392:66: E251 unexpected spaces around keyword / parameter equals
393:46: E128 continuation line under-indented for visual indent
393:50: E251 unexpected spaces around keyword / parameter equals
393:52: E251 unexpected spaces around keyword / parameter equals
399: D401 First line should be imperative: 'Create', not 'Creates'
399: D209 Put multi-line docstring closing quotes on separate line
399: D202 No blank lines allowed *after* method docstring, found 1
399: D205 Blank line missing between one-line summary and description
421:18: E126 continuation line over-indented for hanging indent
421:21: E251 unexpected spaces around keyword / parameter equals
421:23: E251 unexpected spaces around keyword / parameter equals
422:20: E251 unexpected spaces around keyword / parameter equals
422:22: E251 unexpected spaces around keyword / parameter equals
423:22: E251 unexpected spaces around keyword / parameter equals
423:24: E251 unexpected spaces around keyword / parameter equals
424:24: E251 unexpected spaces around keyword / parameter equals
424:26: E251 unexpected spaces around keyword / parameter equals
425:54: E225 missing whitespace around operator
425:35: E251 unexpected spaces around keyword / parameter equals
425:37: E251 unexpected spaces around keyword / parameter equals
426:22: E251 unexpected spaces around keyword / parameter equals
426:24: E251 unexpected spaces around keyword / parameter equals
427:35: E251 unexpected spaces around keyword / parameter equals
427:37: E251 unexpected spaces around keyword / parameter equals
428:27: E251 unexpected spaces around keyword / parameter equals
428:29: E251 unexpected spaces around keyword / parameter equals
429:16: E126 continuation line over-indented for hanging indent
431: D102 Docstring missing
433:49: W601 .has_key() is deprecated, use 'in'
440: D400 First line should end with '.', not 'r'
440: D205 Blank line missing between one-line summary and description
454:55: E231 missing whitespace after ','
457:50: E502 the backslash is redundant between brackets
458:89: E502 the backslash is redundant between brackets
459:50: E128 continuation line under-indented for visual indent
463:55: E502 the backslash is redundant between brackets
503: D401 First line should be imperative: 'Searche', not 'Searches'
503: D202 No blank lines allowed *after* method docstring, found 1
503: D300 Expected """-quotes, got '-quotes
507:70: E251 unexpected spaces around keyword / parameter equals
507:72: E251 unexpected spaces around keyword / parameter equals
510:69: E251 unexpected spaces around keyword / parameter equals
510:71: E251 unexpected spaces around keyword / parameter equals
538:89: E502 the backslash is redundant between brackets
539:38: E127 continuation line over-indented for visual indent
540:79: E127 continuation line over-indented for visual indent
541:79: E127 continuation line over-indented for visual indent
559: D401 First line should be imperative: 'Produce', not 'Produces'
559: D300 Expected """-quotes, got '-quotes
576:39: E203 whitespace before ':'
576:52: E203 whitespace before ':'
576:81: E261 at least two spaces before inline comment
578:47: E203 whitespace before ':'
578:83: E203 whitespace before ':'
581:34: E126 continuation line over-indented for hanging indent
581:43: E251 unexpected spaces around keyword / parameter equals
581:45: E251 unexpected spaces around keyword / parameter equals
582:40: E251 unexpected spaces around keyword / parameter equals
582:42: E251 unexpected spaces around keyword / parameter equals
583:33: E126 continuation line over-indented for hanging indent
586: D401 First line should be imperative: 'Produce', not 'Produces'
586: D202 No blank lines allowed *after* method docstring, found 2
591:9: E303 too many blank lines (2)
597:27: E203 whitespace before ':'
601:39: E203 whitespace before ':'
604:39: E203 whitespace before ':'
604:70: E203 whitespace before ':'
607:20: E126 continuation line over-indented for hanging indent
607:29: E251 unexpected spaces around keyword / parameter equals
607:31: E251 unexpected spaces around keyword / parameter equals
608:29: E251 unexpected spaces around keyword / parameter equals
608:31: E251 unexpected spaces around keyword / parameter equals
609:26: E251 unexpected spaces around keyword / parameter equals
609:28: E251 unexpected spaces around keyword / parameter equals
610:19: E126 continuation line over-indented for hanging indent
612:21: E126 continuation line over-indented for hanging indent
612:30: E251 unexpected spaces around keyword / parameter equals
612:32: E251 unexpected spaces around keyword / parameter equals
613:30: E251 unexpected spaces around keyword / parameter equals
613:32: E251 unexpected spaces around keyword / parameter equals
614:27: E251 unexpected spaces around keyword / parameter equals
614:29: E251 unexpected spaces around keyword / parameter equals
615:31: E126 continuation line over-indented for hanging indent
615:39: E203 whitespace before ':'
615:45: E203 whitespace before ','
615:54: E203 whitespace before ':'
616:39: E203 whitespace before ':'
616:45: E203 whitespace before ','
616:54: E203 whitespace before ':'
617:30: E126 continuation line over-indented for hanging indent
618:20: E126 continuation line over-indented for hanging indent
621: D401 First line should be imperative: 'Produce', not 'Produces'
621: D202 No blank lines allowed *after* method docstring, found 1
621: D300 Expected """-quotes, got '-quotes
627:27: E203 whitespace before ':'
629:35: E203 whitespace before ':'
631:20: E126 continuation line over-indented for hanging indent
631:29: E251 unexpected spaces around keyword / parameter equals
631:31: E251 unexpected spaces around keyword / parameter equals
632:29: E251 unexpected spaces around keyword / parameter equals
632:31: E251 unexpected spaces around keyword / parameter equals
633:26: E251 unexpected spaces around keyword / parameter equals
633:28: E251 unexpected spaces around keyword / parameter equals
634:19: E126 continuation line over-indented for hanging indent
637: D401 First line should be imperative: 'Produce', not 'Produces'
637: D202 No blank lines allowed *after* method docstring, found 1
637: D300 Expected """-quotes, got '-quotes
645:35: E203 whitespace before ':'
645:47: E203 whitespace before ':'
648:20: E126 continuation line over-indented for hanging indent
648:29: E251 unexpected spaces around keyword / parameter equals
648:31: E251 unexpected spaces around keyword / parameter equals
649:28: E251 unexpected spaces around keyword / parameter equals
649:30: E251 unexpected spaces around keyword / parameter equals
650:29: E251 unexpected spaces around keyword / parameter equals
650:31: E251 unexpected spaces around keyword / parameter equals
651:26: E251 unexpected spaces around keyword / parameter equals
651:28: E251 unexpected spaces around keyword / parameter equals
652:19: E126 continuation line over-indented for hanging indent
656:25: E126 continuation line over-indented for hanging indent
656:34: E251 unexpected spaces around keyword / parameter equals
656:36: E251 unexpected spaces around keyword / parameter equals
657:34: E251 unexpected spaces around keyword / parameter equals
657:36: E251 unexpected spaces around keyword / parameter equals
658:31: E251 unexpected spaces around keyword / parameter equals
658:33: E251 unexpected spaces around keyword / parameter equals
659:35: E126 continuation line over-indented for hanging indent
659:43: E203 whitespace before ':'
659:49: E203 whitespace before ','
659:58: E203 whitespace before ':'
660:43: E203 whitespace before ':'
660:49: E203 whitespace before ','
660:58: E203 whitespace before ':'
661:34: E126 continuation line over-indented for hanging indent
662:24: E126 continuation line over-indented for hanging indent
665: D401 First line should be imperative: 'Produce', not 'Produces'
665: D202 No blank lines allowed *after* method docstring, found 1
665: D300 Expected """-quotes, got '-quotes
673:227: E221 multiple spaces before operator
679:39: E203 whitespace before ':'
681:35: E203 whitespace before ':'
681:50: E203 whitespace before ':'
683:20: E126 continuation line over-indented for hanging indent
683:29: E251 unexpected spaces around keyword / parameter equals
683:31: E251 unexpected spaces around keyword / parameter equals
684:29: E251 unexpected spaces around keyword / parameter equals
684:31: E251 unexpected spaces around keyword / parameter equals
685:26: E251 unexpected spaces around keyword / parameter equals
685:28: E251 unexpected spaces around keyword / parameter equals
686:19: E126 continuation line over-indented for hanging indent
689: D401 First line should be imperative: 'Produce', not 'Produces'
689: D202 No blank lines allowed *after* method docstring, found 2
694:9: E303 too many blank lines (2)
694:237: E221 multiple spaces before operator
698:27: E203 whitespace before ':'
698:40: E203 whitespace before ':'
701:39: E203 whitespace before ':'
701:56: E203 whitespace before ':'
705:43: E203 whitespace before ':'
705:74: E203 whitespace before ':'
708:43: E203 whitespace before ':'
708:74: E203 whitespace before ':'
711:49: E126 continuation line over-indented for hanging indent
711:58: E251 unexpected spaces around keyword / parameter equals
711:60: E251 unexpected spaces around keyword / parameter equals
712:51: E251 unexpected spaces around keyword / parameter equals
712:53: E251 unexpected spaces around keyword / parameter equals
713:57: E251 unexpected spaces around keyword / parameter equals
713:59: E251 unexpected spaces around keyword / parameter equals
714:55: E251 unexpected spaces around keyword / parameter equals
714:57: E251 unexpected spaces around keyword / parameter equals
715:47: E126 continuation line over-indented for hanging indent
716:5: E301 expected 1 blank line, found 0
716: D401 First line should be imperative: 'Produce', not 'Produces'
716: D300 Expected """-quotes, got '-quotes
721: D401 First line should be imperative: 'Produce', not 'Produces'
721: D300 Expected """-quotes, got '-quotes
730: D401 First line should be imperative: 'Produce', not 'Produces'
730: D202 No blank lines allowed *after* method docstring, found 1
730: D300 Expected """-quotes, got '-quotes
734:11: E121 continuation line under-indented for hanging indent
735:24: E251 unexpected spaces around keyword / parameter equals
735:26: E251 unexpected spaces around keyword / parameter equals
741: D401 First line should be imperative: 'Produce', not 'Produces'
741: D202 No blank lines allowed *after* method docstring, found 1
741: D300 Expected """-quotes, got '-quotes
745:11: E121 continuation line under-indented for hanging indent
746:24: E251 unexpected spaces around keyword / parameter equals
746:26: E251 unexpected spaces around keyword / parameter equals
749:24: E251 unexpected spaces around keyword / parameter equals
749:26: E251 unexpected spaces around keyword / parameter equals
752: D401 First line should be imperative: 'Produce', not 'Produces'
752: D202 No blank lines allowed *after* method docstring, found 1
752: D300 Expected """-quotes, got '-quotes
756:11: E121 continuation line under-indented for hanging indent
756:13: E251 unexpected spaces around keyword / parameter equals
756:15: E251 unexpected spaces around keyword / parameter equals
757:24: E251 unexpected spaces around keyword / parameter equals
757:26: E251 unexpected spaces around keyword / parameter equals
761:26: E251 unexpected spaces around keyword / parameter equals
761:28: E251 unexpected spaces around keyword / parameter equals
762:26: E251 unexpected spaces around keyword / parameter equals
762:28: E251 unexpected spaces around keyword / parameter equals
763:26: E251 unexpected spaces around keyword / parameter equals
763:28: E251 unexpected spaces around keyword / parameter equals
765:24: E251 unexpected spaces around keyword / parameter equals
765:26: E251 unexpected spaces around keyword / parameter equals
766:22: E251 unexpected spaces around keyword / parameter equals
766:24: E251 unexpected spaces around keyword / parameter equals
767:22: E251 unexpected spaces around keyword / parameter equals
767:24: E251 unexpected spaces around keyword / parameter equals
768:25: E251 unexpected spaces around keyword / parameter equals
768:27: E251 unexpected spaces around keyword / parameter equals
769:24: E251 unexpected spaces around keyword / parameter equals
769:26: E251 unexpected spaces around keyword / parameter equals
772: D209 Put multi-line docstring closing quotes on separate line
772: D202 No blank lines allowed *after* method docstring, found 1
772: D400 First line should end with '.', not ','
772: D205 Blank line missing between one-line summary and description
796:30: E261 at least two spaces before inline comment
797:54: E261 at least two spaces before inline comment
798:55: E111 indentation is not a multiple of four
798:55: E113 unexpected indentation
799:43: E261 at least two spaces before inline comment
806:17: E122 continuation line missing indentation or outdented
807:17: E122 continuation line missing indentation or outdented
810:21: E129 visually indented line with same indent as next logical line
822:77: E502 the backslash is redundant between brackets
823:42: E128 continuation line under-indented for visual indent
823:84: E261 at least two spaces before inline comment
823:85: E262 inline comment should start with '# '
825:104: E261 at least two spaces before inline comment
825:105: E262 inline comment should start with '# '
831:23: E127 continuation line over-indented for visual indent
845:13: E113 unexpected indentation
846:13: E113 unexpected indentation
848:43: W601 .has_key() is deprecated, use 'in'
852:40: E701 multiple statements on one line (colon)
856:21: E701 multiple statements on one line (colon)
857:17: E701 multiple statements on one line (colon)
858:13: E701 multiple statements on one line (colon)
863: D209 Put multi-line docstring closing quotes on separate line
863: D202 No blank lines allowed *after* method docstring, found 1
863: D205 Blank line missing between one-line summary and description
871: D202 No blank lines allowed *after* method docstring, found 1
871: D400 First line should end with '.', not 's'
885: D300 Expected """-quotes, got '-quotes
908:1: E302 expected 2 blank lines, found 1
908: D401 First line should be imperative: 'Return', not 'Returns'
908: D209 Put multi-line docstring closing quotes on separate line
908: D400 First line should end with '.', not 'e'
908: D205 Blank line missing between one-line summary and description
945:17: E128 continuation line under-indented for visual indent
945:36: E228 missing whitespace around modulo operator
945:87: E228 missing whitespace around modulo operator
946:17: E126 continuation line over-indented for hanging indent
946:34: E228 missing whitespace around modulo operator
946:64: E228 missing whitespace around modulo operator
947:19: E225 missing whitespace around operator
950:39: E228 missing whitespace around modulo operator
953:1: E302 expected 2 blank lines, found 1
953: D401 First line should be imperative: 'Return', not 'Returns'
953: D209 Put multi-line docstring closing quotes on separate line
953: D205 Blank line missing between one-line summary and description
953: D208 Docstring is over-indented
959:19: E231 missing whitespace after ':'
959:32: E231 missing whitespace after ':'
959:42: E231 missing whitespace after ':'
959:50: E231 missing whitespace after ':'
972:1: E302 expected 2 blank lines, found 1
976:1: E302 expected 2 blank lines, found 1
976: D400 First line should end with '.', not 'm'
976: D205 Blank line missing between one-line summary and description
976: D208 Docstring is over-indented
999:1: E302 expected 2 blank lines, found 1
999: D400 First line should end with '.', not 'd'
999: D205 Blank line missing between one-line summary and description
999: D208 Docstring is over-indented
1022:1: E302 expected 2 blank lines, found 1
1032:1: E302 expected 2 blank lines, found 1
1042:1: E302 expected 2 blank lines, found 1
1045:13: E128 continuation line under-indented for visual indent
1046:13: E128 continuation line under-indented for visual indent
1052:13: E128 continuation line under-indented for visual indent
1053:22: E127 continuation line over-indented for visual indent
1054:21: E127 continuation line over-indented for visual indent
1064:13: E128 continuation line under-indented for visual indent
1065:13: E128 continuation line under-indented for visual indent
1073:13: E128 continuation line under-indented for visual indent
1074:13: E128 continuation line under-indented for visual indent
1075:13: E128 continuation line under-indented for visual indent
1077:1: E302 expected 2 blank lines, found 1
1077: D290 White spaces around docstring should be trimmed.
1077: D205 Blank line missing between one-line summary and description
1110:1: E302 expected 2 blank lines, found 1
1110: D103 Docstring missing
1118:1: E302 expected 2 blank lines, found 1
1118: D290 White spaces around docstring should be trimmed.
1150:5: E122 continuation line missing indentation or outdented
1151:41: E127 continuation line over-indented for visual indent
1152:41: E127 continuation line over-indented for visual indent