add rope project autodiscovery

This is a small improvement I use in my ropemode.

I use Rope with Emacs and I usually have several python projects opened at the same time. Every time I switch to a different project or I open a new one I get prompted to the ropeproject location request which is quite irritating.

Such simple code allows Rope Mode to try to discovery the location before asking it to the user. The algorithm is pretty simple: it traverse the project folders from the bottom to up to two folders from the one in which we are working.

I'd like to make such feature configurable so that the user can both decide whether to enable it or not and how many folders upward to look into but I'm not familiar with the whole thing. If you have any suggestion I'd be glad to improve the code snippet.

Something to add in my emacs.d like:
(ropemode project-folder-autodiscovery t)
(ropemode autodiscovery-depth 2)