Add a method exists to task.

Check with the name, if a task exists in the registered tasks. Return a boolean.

Related with the issue #1047

Documentation updated:
https://github.com/gruntjs/grunt-docs/pull/61