Stylistic changes

Using literals instead of dict(), moving some logic to make more sense
Fixing Gravatar function comment

It supports libravatar first...
Fixing some person lookup logic

Use os.path.join for consistency and proper path management
PEP8 fix
Merge pull request #572 from msoucy/site/cleanup

Cleaning up some logic