One of Boston’s new tools for creating new housing is putting homes above a neighbor that’s famously quiet: libraries.