File validation check is way too greedy

Presently the file validation check checks for spaces in any part of the
file path to the cookbook. This change ensures that we just check the
cookbook name and paths underneath the cookbook.
add failing test for berks upload -D
Only check cookbook files, not paths
Move up one directory
Add spec
Remove reference comment
Merge pull request #632 from RiotGames/file_syntax_check

File syntax check

@reset to backport to 2.0