Ex-BNP activist authored manifesto for UKIP leadership hopeful