More than $100 million was allocated to address Maine’s housing shortage and the ongoing homelessness crisis under budget measures passed by the Legislature last week. The spending comes as cities and towns across the state grapple with maxed-out homeless shelters, unaffordable apartments and increasing numbers of people living on the streets.