Moving things to UI-specific directories

We're building the base of the client to be UI-independent, and have the
UI just reference the base stuff as necessary.  Most of the motif-specific
stuff is in motif/, and the OSX-specific 'r9' directory was renamed to
osx/.