Picking up after your pets isn’t just the right thing to do morally. It can also have legal ramifications.