For decades, Tangier has served as a safe ground for international spies. The city inspired later spy fiction writers and movie directors.