Implement `wp site foreach` command

Previous discussion: #40.

Related: #661 (wp site list)