Changed licence from MIT to BSD-3-Clause (same as Yii framework)