general: fixes and improvements for several personalization features

2: I102 copyright year is outdated, expected 2014 but got 2011
33:1: E302 expected 2 blank lines, found 1
33: D202 No blank lines allowed *after* function docstring, found 1
44:17: W291 trailing whitespace
47:17: W291 trailing whitespace
50:14: W291 trailing whitespace
53:15: W291 trailing whitespace
58:1: W293 blank line contains whitespace
65:74: E231 missing whitespace after ','
127:1: W293 blank line contains whitespace
134:44: E203 whitespace before ':'
135:46: E203 whitespace before ':'
136:49: E203 whitespace before ':'
137:53: E203 whitespace before ':'
143:25: E251 unexpected spaces around keyword / parameter equals
143:27: E251 unexpected spaces around keyword / parameter equals
144:28: E251 unexpected spaces around keyword / parameter equals
144:30: E251 unexpected spaces around keyword / parameter equals
145:23: E251 unexpected spaces around keyword / parameter equals
145:25: E251 unexpected spaces around keyword / parameter equals
150:11: E251 unexpected spaces around keyword / parameter equals
150:13: E251 unexpected spaces around keyword / parameter equals
152:1: E302 expected 2 blank lines, found 1
152:34: E251 unexpected spaces around keyword / parameter equals
152:36: E251 unexpected spaces around keyword / parameter equals
152: D202 No blank lines allowed *after* function docstring, found 1
152: D400 First line should end with '.', not 'e'
152: D205 Blank line missing between one-line summary and description