No city, town or other municipal corporation shall become indebted in an amount exceeding 5 per centum of the taxable value of the property thereof; provided, that for the erection or purchase of water-works, gas or electric plants, or sanitary sewerage an additional indebtedness not to exceed 3 per centum may be created; provided further, that this section shall not apply to indebtedness in exces