Added check if cat_name is set when replacing title variables so %%category%% get's properly replaced on category archive pages.
Fixes #1106.
Merge branch 'master' of github.com:Yoast/wordpress-seo