Add BitArray template class

Add BitArray template class that aims to provide some of the functionality of boost::dynamic_bitset.

Iterators must be implemented to find the first index at true or false. the "count leading zero's" builtin functions of compilers can improve the performance.

Be careful that values are stored from LSB to MSB when index increases.