Display pagename if heading is undefined

If useHeading option is set, and if heading of the redirected page is
empty, displays pagename instead heading in note. Cf. issues 9 and 13.