Ex-soldier guilty of bookshop terror plot