Merge pull request #3310 from Wikia/MAIN-2078

MAIN-2078: Fix by adding missing hook handlers defintions
Consistently use wfUrlencode insteaf of urlencode
Actively fill Parsoid cache with new data only for content namespaces