Optimize tasks for better extensibility

Move options out of the gulp tasks to make it possible to extend tasks
just by adding new options to the config file.