Added xmpp subdir to source
Added ui subdir to source
Removed stanza functions from xmpp.h
Removed message handler function from xmpp.h
Removed iq functions from xmpp.h
Removed presence functions from xmpp.h
Removed caps functions from xmpp.h
Tidied #include's
Added command and tools subdirs to source
Added config dir to source
Moved directory creating functions to common.h

Removed duplicate function
Moved xdg functions to common
Moved function to get chat log dir to log.c
Moved function to get log dir to log.c
Moved function to get accouts files to accounts.c
Moved function to get theme dir to theme.c
Removed files.c
Tidied directory creation
Fixed tests
Merge branch 'master' into resource

Conflicts:
	Makefile.am
	src/xmpp/stanza.h