Dependent Completely Random Measures and Statistical Applications