Unify season batch builder for trakt downloads.

- Catch all possible null pointers.
- Added TraktSync.buildSeasonBatch().
- Faster finish if nothing to sync to SeriesGuide.
- Sync to SG: remove flags only after update batch was successfully
built.
Clean up getTraktActivity in sync adapter.

- Formatting, better error handling, refactoring.