Formalize type conversion + overload resolution base on c/c++ standard
Fix test for numpy 1.6
Add local test all script