Reverting some changes from Yauhen's previous commit which lost most contents of lib/barrelfish/init.c
Added patch file from bad commit, splitted by newfiles only and changes to existing files.