Add first phase of hosts support
Convert unit tests to cmocka
config: move attribute checks to external file
Remove configure warning with old autoconf versions
Silence some compilation warnings