Removed debugger lines
fixed max_quality index number error
Changed duration search in json from index to get()
Refactored dailymotion extractor
Added tools class to base_extractor to handle boilerplate code for subclasses. Refactored is working to check matching urls better
Fixed typos