New optimizer in MaxProfit

New optimizaer in MaxProfit (nloptr), MaxProfit.stkcnst renamed to
MaxProfit.
Cobb Douglas production function and related ones, slightly changed to
give coherence along functions