Ticket 528 - RFE - get rid of instance specific scripts (part 2)
Bug Description: There was a lot of rundant code in the scripts, and
hardcoded paths.
Fix Description: Create new functions in DSUtil.pm(for perl scripts), and
create a new shared lib file for the shell scripts. Redundant
code was turned into functions and placed in these files. Also
replaced hardcoded paths with the proper macro values.
https://fedorahosted.org/389/ticket/528
Reviewed by: richm(Thanks!)