Misc changes and cleanups

qa sec position changed: 
Detect the error before you compile.

dpkg/pack:
Added break feature.

lib/base.sh:
Added abdie, abinfo, aberr, abwarn functions.