moved stuff from config.php to main.php

error with CONSUMER_KEY, CONSUMER_SECRET, and OAUTH_CALLBACK now. Also
fixed an error with the Yii framework path in the index.php file
(causing the issues the last two commits dealt with)