Organise libkunquat

No new features, just style changes, moving of files internally, and fixed release mode building.