Fixed dev_appserver and mongo stub to accept root_path param.

This was needed because of index treating in devel console.