Initial refactor commit.
Common resources (functions, variables, sanity checks) have been moved to the resources script.
Modifications have been made to the bootstrap & x-setup script to adhere to the above changes.
Licensing code uder the ISC license.
Updated launchd label for X11 service
Removed deprecated 'ERR_MSG' exports
Changed saferun functions exit message to show full command passed to the function