Move validation of Cask-file to cask.el.

The Cask-file should be validated when not using Cask via CLI.