[#5966] remove SF-internal references; PEP-8 cleanup; determine base_url automatically
[#5966] remove SF-internal references; PEP-8 cleanup; determine base_url automatically

lym/allura-git,lym/allura-git,apache/incubator-allura,lym/allura-git,apache/incubator-allura,heiths/allura,apache/incubator-allura,heiths/allura,apache/allura,apache/incubator-allura,apache/allura,apache/allura,lym/allura-git,heiths/allura,apache/allura,lym/allura-git,apache/allura,heiths/allura,heiths/allura