Put some of the general purpose functions to ownCloud/Buildhelper module