updated nickname handling in mutt alias support

Nicknames are now formed including the middle name, if specified.

Also did a bunch of PEP8 cleanups and added proper documentation strings.