Initial work on converting to Yii2

Looking for feedback on this conversion to Yii2. I'm especially not sure if actionYiic() was done correctly.

The ipFilter option has not been converted yet.