Fix compatibility with Redmine 2.5 and update deface selectors