Add mechanism for elements to opt-out of buildtrees.

* src/buildstream/element.py
  (Element.BST_NEVER_CACHE_BUILDTREES): New class variable to indicate whether
   buildtrees are prohibited.
  (Element._assemble, Element._cache_artifact): Take BST_NEVER_CACHE_BUILDTREES
   into account
1 file changed