Many fixes for make dist and remove pregenerated gtk-doc files

Lots of cleanups but the refference docs are in need of updating. Currently make check fails because of this. However I am not comptetent enough to fix api docs so someone will have to take care of that.

make dist now worls.