Pope Francis is urging Bosnia's Muslims, Orthodox and Catholics to put the "deep wounds" of their past behind them and work together for a peaceful future.