Student brings replica handgun to Minn. school