Added some logic to be able to upload cookbooks

As discussed in PR #34
Merge pull request #39 from svanharmelen/supermarket-upload

Added some logic to be able to upload cookbooks