Committing base changes to get new namespaced PHP SDK working with Yii. Includes some partially working updated methods to work with the SDK. Work in progress.
Moving and renaming plugins to work with namespacing.