Move libiberty code to compat/
Declare all scope variables at top of scope with space
Move tests and add make target
Remove non-commit lines from test expectations