Stop installing many unneeded files, including perf suite

Perf suite contains many files with dubious licensing and is
typically not useful in normal use. Since ed38447 it's no longer
needed to run tests.
Add docdir, mandir and man1dir environment variables for make install

This also changes the default path for documentation to something more
standard.