~nytpu/xdgbasedir.c

fix bug when appending to env var
fix bug not following spec
fix license issue
rename functions and add xdg_append_path
initial commit