Refactor the HAWelcome extension.
Merge pull request #572 from Wikia/fb51338-hawelcome-refactoring

Discussed with @psychonaut. Merging into dev.