Work over a buffer class instead of an array

I've extracted a Buffer interface and added 2 implementations for 32 and 64 bits EWAHCompressedBitmap.