std.bitmanip BitArray refactor

I reviewed BitArray and found a few issues:
- constness
- incorrect treatment of "pad" bits
- many places where size_t should have been used.
```const``` is on the left in many places, and I thought moving all the ```const```s over would be too much noise. So I didn't move any.