Fixes for direct deploy and SASS compilation

Hi,

these are a few fixes around the direct deploy process and the SASS compilation:
 * now the selected plugin automatically sets the plugin type for the direct deploy;
 * fixed an issue with the security permissions not allowing the execution of Liferay's direct deploy classes
 * fixed the SASS compilation as now the merged theme and the webapp directory are merged before the compilation takes place
 * files from the .sass-cache directories are copied in their parent directories.