Wait before marking media as done

Adds a second quality option. This one continues searching for better qualities when more than one quality is marked with a finish check. An example where this is useful:

Stop_after = 20 days
3D Blu-ray -- finish
1080p -- finish
720p

It will immediately start searching and finds the 1080p, then if the bluray is released in 3D it will also download that later on. With the wait_for option I'd have to wait for 20 days for all movies before it downloads anything...

In addition this fixes #3402 and only uses media.restatus to update media status (e.g. to done). Note that this is also removed from the renamer, as the scantomedia function already takes care of this.

Updated with tagging in the restates function.