Fix websearch string formatting

1: D100 Docstring missing
2: I102 copyright year is outdated, expected 2014 but got 2013
35:1: F401 'getpass' imported but unused
42:1: E302 expected 2 blank lines, found 1
56:5: E122 continuation line missing indentation or outdented
76:5: E122 continuation line missing indentation or outdented
98:5: F401 'base64' imported but unused
99:5: F401 'cPickle' imported but unused
100:5: F401 'cStringIO' imported but unused
101:5: F401 'cgi' imported but unused
102:5: F401 'copy' imported but unused
103:5: F401 'fileinput' imported but unused
104:5: F401 'getopt' imported but unused
107:9: F401 'md5' imported but unused
109:9: F401 'hashlib' imported but unused
110:5: F401 'marshal' imported but unused
112:5: F401 'pyparsing' imported but unused
113:5: F401 'signal' imported but unused
114:5: F401 'tempfile' imported but unused
115:5: F401 'time' imported but unused
116:5: F401 'traceback' imported but unused
117:5: F401 'unicodedata' imported but unused
118:5: F401 'urllib' imported but unused
119:5: F401 'zlib' imported but unused
120:5: F401 'wsgiref' imported but unused
121:5: F401 'sqlalchemy' imported but unused
123:5: F401 'jinja2' imported but unused
125:5: F401 'fixture' imported but unused
130:5: F401 'wtforms' imported but unused
132:5: F401 'flask' imported but unused
138:5: E122 continuation line missing indentation or outdented
160:5: E124 closing bracket does not match visual indentation
165:5: F401 'rdflib' imported but unused
168:5: E122 continuation line missing indentation or outdented
185:5: F401 'pyRXP' imported but unused
200:5: E124 closing bracket does not match visual indentation
203:5: F401 'dateutil' imported but unused
219:5: E124 closing bracket does not match visual indentation
222:5: F401 'libxml2' imported but unused
238:5: E124 closing bracket does not match visual indentation
241:5: F401 'libxslt' imported but unused
244:5: E122 continuation line missing indentation or outdented
260:5: F401 'Gnuplot' imported but unused
263:5: E122 continuation line missing indentation or outdented
281:5: F401 'rauth' imported but unused
284:5: E122 continuation line missing indentation or outdented
301:5: F401 'openid' imported but unused
304:5: E122 continuation line missing indentation or outdented
326:5: E122 continuation line missing indentation or outdented
343:5: E122 continuation line missing indentation or outdented
360:5: F401 'reportlab' imported but unused
363:5: E122 continuation line missing indentation or outdented
381:9: F401 'PyPDF2' imported but unused
383:9: F401 'pyPdf' imported but unused
386:5: E122 continuation line missing indentation or outdented
403:5: F401 'unidecode' imported but unused
406:5: E122 continuation line missing indentation or outdented
425:5: E122 continuation line missing indentation or outdented
438:5: F401 'Stemmer' imported but unused
440:9: F401 'algorithms' imported but unused
443:9: E122 continuation line missing indentation or outdented
457:9: E261 at least two spaces before inline comment
464:28: W602 deprecated form of raising exception
467:5: E122 continuation line missing indentation or outdented
486:28: W602 deprecated form of raising exception
491:17: E126 continuation line over-indented for hanging indent
504:32: W602 deprecated form of raising exception
507:32: W602 deprecated form of raising exception
510:5: E122 continuation line missing indentation or outdented