Move recipe name logic into loop_over_recipes and fix bug with nested recipes.
Move recipe name logic into loop_over_recipes and fix bug with nested recipes.

R=agable@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/23460033

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@222662 0039d316-1c4b-4281-b951-d872f2087c98

eunchong/build,eunchong/build,eunchong/build,eunchong/build