LineageParts: Some fixes

* Remove unused code and namespaces
* Rework deprecated code
* Fix a few warnings (mainly possible NPEs for
  getActivity() and getContext())
* Adjust copyrights - we don't want a list, but ranges - see
  https://epiphany.law/articles/copyright/copyright-dates-single-year-or-range

Change-Id: I725114402b4af37b8f95583db356aeba1418e087
60 files changed