Thomas Mikaelson, 19, appeared in court and admitted attempting to allow sexual penetration by a living animal