Added favicon logic.
Merge pull request #3 from beardon/favicon-branch

Added favicon logic.