Former student accused of rape in court on bond hearing