Added autoinstall code for build and install package to modx instance