CBitfield functions and tests added. Also improvement to CPlatforms_endiannes.h