switched superuser check to Yii native method
using getenv instead of $_SERVER
Merge branch 'master' of git://github.com/schmunk42/p3bootstrap