The Bannai-Ito algebra and some applications