move doc to docs and improve and clean up makefile

Signed-off-by: Mattias Andrée <maandree@operamail.com>