Fixed a bug about task override
Added a promises vs tasks section to task docs