Deep Neural Networks with Trainable Activations and Controlled Lipschitz Constant