[tools][lkboot] fix getsysparam
[target][zybo] factor shared code into an app

Some but not all zybo based projects will want to share some higher
level initialization code, so move that to app/zybo-common and make
the zybo target a bit more bare-bones.