added purchase category. fixed yiic.php
added purchase category. fixed yiic.php