Sigmoid

Add ScalarOp.c_code_contiguous interface and use it with amdlibm.

This speed up exp, pow, sin, cos, log, log2, log10 and sigmoid when the input is contiguous in memory.

also:
- better error message
- fix test in debugmode
- Fix Elemwise and CAReduce version when the scalar_op don't have a version