If you are in the City of Ypsilanti, the Housing Bureau is in charge of ensuring that rental housing is up to code. Also, each rental unit must be inspected periodically, and each rental unit must have a valid and current certificate of occupancy (I think this is what you may mean when you say dwelling permit). Contact the housing bureau, they can tell you whether there is a valid certificate on file, when the place was last inspected, and what you need to do to file a complaint for the conditions you describe. For more details, see the link I provided.
No attorney-client relationship is formed by the act of attorney providing this answer. This answer is provided for general public informational purposes only. While care is taken to provide accuracy in the answer, as this is not intended or provided as a legal opinion, attorney cannot guaranty the accuracy. Attorney disclaims any basis for liability in providing this free public service. To be certain of accuracy, you should consult with a lawyer for that purpose.
I am fairly sure that Ypsilanti requires a license or permit for the landlord to rent a residental dwelling ... this type of license typically requires an inspection periordically ... every two years or when the occupancy changes ..
Check with the local township authorities.
As for utilities.. if a tenant agrees to pay them they are liable.
If I can be of additional assistance please feel free to email me at email@example.com or call me at 248-901-0750. Please also note that I answered this question with general knowlege of the law and with limited disclosure from you, my answer does not create an attorney client relationship and I cannot be held responsible for how you, the asker, use the information I provide.