Fix some issues in github opened by ssuominengentoo.
Issue 8: Stop setting docdir= $(pkgdatadir)/doc in Makefile.am since it breaks --docdir switch
Issue 7: Stop forcing -O3 optimization
Issue 6: Release tarballs should not set -Werror
Issue 5: Multiple issues in the pragha.desktop file