A man appears in London court over the murder of Ann Widdecombe as terror motive is investigated.