Moving src/array to src/frontend/cpp
Adding support for binary functions with scalar inputs

- rem, mod, min, max, cplx2, atan2, pow
Removed s8. Changed b8 to be of type char
cast to b8 now results in arrays made up of 1s or 0s
Add a debug version of CU_CHECK
updated math operations for all backends

- af_and (operator &&)
- af_or  (operator ||)
- operator-
- operator!
- operator%
Merge remote-tracking branch 'origin/arith' into devel

Conflicts:
	src/backend/device.cpp