Implemented a base iterator template for all BoostNumpy C++ style iterators.