Demokratiutvikling i Norge, 1800–1945 - Fra revolusjon til reformer