Several updates

Now the system will know when it needs to use a sample version for
Magento <= 1.8.1.0 or >= 1.9.0.0.
Removed the line where would update the Core Install.
Changed MV to CP to copy files.
Changed owner to user magento.