A man has been charged with a terrorism offense in London after he attempted to enter the Israeli Embassy armed.