The man discovered near an Upper Peninsula high school digging through trash bins has been arraigned in court