Misc cleanups in preparation to merge it with xbps.

1- xbps-src.conf is gone, remove all traces of its parsing.
2- XBPS_DISTDIR is gone, default to ~/xbps-packages if -d is unset.
3- Fixed up some warnings.
4- Fix a crash when -d wasn't set and it didn't exist.