Three months after the Montgomery County Council considered legalizing Airbnb, the company has entered into an agreement to collect hotel taxes on behalf of its renters.