Generic optimization package for openCV project, as in GSoC 2013 proposal https://docs.google.com/document/d/1Kz3Ojf86tqFkUik-35fj5Blx0UFnnRrkcymOsCE-dyI/edit?usp=sharing