Added internal use warning for TaskHandler::cancel()

It is confusing for some developers to whether to use this function or `ServerScheduler::cancelTask($taskId)`. It is better to add warning in the documentation.
Merge pull request #2352 from PEMapModder/patch-3

Added internal use warning for TaskHandler::cancel()