Attempt to make directories writable on rb-site upgrade.
Attempt to make directories writable on rb-site upgrade.

When upgrading an existing site, there should be at least one directory
("uploaded") that is writable by the web server. We can use this as a
reference point for all other directories that need to be made writable.

We now stat that directory and change ownership of all the other
directories.

I've also added uploaded/files as a generated directory. Technically,
this can be created on-the-fly, but since we know we want it, and make
the other directories, we may as well make this one up-front.

chipx86/reviewboard,1tush/reviewboard,sgallagher/reviewboard,KnowNo/reviewboard,1tush/reviewboard,sgallagher/reviewboard,bkochendorfer/reviewboard,custode/reviewboard,bkochendorfer/reviewboard,chipx86/reviewboard,chipx86/reviewboard,brennie/reviewboard,1tush/reviewboard,1tush/reviewboard,1tush/reviewboard,custode/reviewboard,1tush/reviewboard,brennie/reviewboard,1tush/reviewboard,1tush/reviewboard,davidt/reviewboard,1tush/reviewboard,beol/reviewboard,beol/reviewboard,davidt/reviewboard,brennie/reviewboard,davidt/reviewboard,brennie/reviewboard,davidt/reviewboard,beol/reviewboard,reviewboard/reviewboard,chipx86/reviewboard,reviewboard/reviewboard,reviewboard/reviewboard,sgallagher/reviewboard,sgallagher/reviewboard,beol/reviewboard,bkochendorfer/reviewboard,bkochendorfer/reviewboard,KnowNo/reviewboard,KnowNo/reviewboard,custode/reviewboard,custode/reviewboard,reviewboard/reviewboard,KnowNo/reviewboard