Fix constant folding

* Do not hide issue catching all exceptions
* Enable constant folding for numpy expressions
* Fix reshape signature
* Fix "make upper" attributs name
* restrict constant expression to really constant cases
Ensure all modules and function are imported in constant folding
Handle more python function in constant folding