Fix some small bugs pointed out byt pooka@. Remove not needed -D defines anddo not include private kernel header files. Instead copy part of it to testprogram.
Add small testing program which uses RUMP libdm to test device-mapperfunctionality in userspace.