Merge pull request #6 from maxrp/valgrind

couple of fixes from maxrp
this made it crash
this made it crash also
maxrp was right about this one
Standardization to follow FHS and Fedora

Fedora 64 bit arch has /usr/lib64;
Manpages should be put to /usr/share/man/man1, or /usr/local/share/man/man1,  but never hear of /usr/man nowadays.
Merge pull request #7 from cicku/patch-2

Standardization to follow FHS and Fedora
Upstream makefile changes