boost::mpl: variadic implementation of template_arity<> and apply_wrap<>

Signed-off-by: Alex Dubov <oakad@yahoo.com>