general: fixes and improvements for several personalization features

1: D100 Docstring missing
4: I102 copyright year is outdated, expected 2014 but got 2013
24:1: E302 expected 2 blank lines, found 1
24: D103 Docstring missing
27:1: E302 expected 2 blank lines, found 1
27: D103 Docstring missing
32:1: E302 expected 2 blank lines, found 1
32: D290 White spaces around docstring should be trimmed.