BugId:104520 - moved deleted page check to more appropriate place and tweaked the logic a little bit
fixed unit test SEOTweaksTest
Merge pull request #752 from Wikia/release-163-deleted-status-code-tweaks

BugId:104520 - moved deleted page check to more appropriate place and tw...