Make DiscFreqDist implement Img<LongType>
Eliminate n-d construction helper classes

Instead now use static methods of Integer1dBinMapper and Real1dBinMapper