Added treatment and depleted details to json output.
Code refactor - match conventions in UI JS.
Added DepletedIn and Treatments to Assay Details; redmine 776
Merge branch 'master' into exp-treatment-depleted-776
Embedding is only relevant for linked objects.
Switch 'hide' pattern.
Switch 'hide' patterm, Mk II. Added 'tests'.
.length works without throwing errors now.
Set npm_config_cache to avoid problems building on travis.
Merge pull request #101 from ENCODE-DCC/exp-treatment-depleted-776

Exp treatment depleted 776
Merge remote-tracking branch 'origin/master' into 1046_sub_fraction