Check IsTransitive in share handler and add tests.

Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.

BUG=https://code.google.com/p/camlistore/issues/detail?id=226

Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
Check IsTransitive in share handler and add tests.

Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.

BUG=https://code.google.com/p/camlistore/issues/detail?id=226

Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
Merge "Check IsTransitive in share handler and add tests."
make.go: preserve executable bit when copying binaries to bin

Change-Id: Ia2c415aaaa2ab5ffa52766f5adfb4f5af7377961
Merge branch 'master' of https://camlistore.googlesource.com/camlistore