Mechanisms for tuning clustering and degree-correlations in directed networks. (20th November 2017)