Generalize usage of AndroidVersion instead of Api level in the SDK packages.

Platform, add-on and doc packages used to use Api Level to figure out
upgrade logic. This is replaced by AndroidVersion to properly handle
codename versions.
10 files changed