Remove unused variable
Use hpx_main when NT2_USE_HPX is defined
Add hpx fold spawner and update unit tests