62.04 Intent and construction. It is declared to be the intention of the revision of the city charter law, to grant all the privileges, rights and powers, to cities which they heretofore had unless the contrary is patent from the revision. For the purpose of giving to cities the largest measure of self-government compatible with the constitution and general law, it is hereby declared that ss. 62.01 to 62.26 shall be liberally construed in favor of the rights, powers and privileges of cities to promote the general welfare, peace, good order and prosperity of such cities and the inhabitants thereof.