Optimized BitSetUtils (thanks @socram8888); Added some ram read and write methods for compatibility.