Implement Task.previous and Task.get_previous_completed

Move from Spotify internal to public