Fixed minor errors in bitwise.pgen.

bitwise.pgen now behaves as expected for both genlight and genind/genclone objects.
Basic unit tests have been added for genlight objects in bitwise.pgen
Both genlight and genind/genclone objects are processed with population based allelic frequencies now.