fix and enable duplicate-key (W0109) pylint check on master branch

Removed duplicate key assignments in a dictionary and enabled the 'duplicate-key' pylint check.

Note: https://github.com/buildbot/buildbot/pull/913 needs to be merged, before merging 'master' branch with 'duplicate-key' check enabled into 'nine' branch.