Keep annotated classes in main dex list

Only classes annotated with a runtime visible annotation are to be kept.
See https://code.google.com/p/android/issues/detail?id=78144

Bug: 18385117
Change-Id: Id377b3945b22201ebad05e7cd026af57acc60292
Merge "Keep annotated classes in main dex list"