[BUGFIX] Fix for ProcessTitle() and ReplaceLink(), pep8 changes

- mightBeLoc must be migtBeLcl in ProcessTitle()
- fix for list comprehensive variable d --> s
- i18n.twtranslate may have a third parameter for the dictionary
- pep8 changes (indentation fix)

Change-Id: I7001045bb6e649719404f6c6193c6b33af39e88b