Changes dependency of rdoc task

Previously, rdoc task would look for "index.html" file to build docs. In --ri
mode, this file is never created.

Now looks for "created.rid", which is generated regardless of the generation
mode.

Fixes #307