Change integral_cast implementation to be sfinaed and introduce related type trait.
thread_management: remove useless header.
Some changes in the build system to accomodate pthreads in MinGW.
rtkm: sfinae the t_subs method.
series: sfinae on pow() method.