fix #427, #479
Merge pull request #484 from chenall/fix-issue-427

修正 list_categories的bug
Fix theme source processor. Run generators after theme updated.
Merge branch 'master' into dev

Conflicts:
	lib/plugins/helper/list.js