tar: fixing extracting files that are dirs https://github.com/coreos/rocket/issues/250
tar: ensuring dir mode extraction
tar: fixing extracting files that are dirs #251

Merge pull request #251 from mcuadros:master
docs: update getting started guides
Merge pull request #274 from jonboulle/fixguide

docs: update getting started guides
Create parent directories for every file type and not for only regular files.
Merge pull request #275 from sgotti/tarcreateparenteveryfile

pkg/tar: create parent directories for every file type
cas: clean blockTransform, panic intentionally

There was a bug in diskv (https://github.com/peterbourgon/diskv/pull/20)
which meant that the blockTransform function could be passed an empty
string. In our case this just paniced after trying to split + access
parts of the resulting empty slice.

Panicking is arguably correct behaviour (if we ever get something that's
not a hash it's likely a bug in our code), but let's be more intentional
about it.
Merge pull request #277 from jonboulle/casprefix

cas: clean blockTransform, panic intentionally