kernel: Rename memory => mm. Move bitv.

Made `Bitv` more flexible.
Avoid warnings (mostly imports and names)