Handle cookbook moves

The recently added multi-directory support had poor (and undefined)
behavior in the event a cookbook was moved between directories. We
now always treat that as a 'modify'.

This also will now ignore flat files in a cookbook directory as well
as exports the API variables explicitly.