Fixed Bug 300408 - [apt] keep the order of elements in
TypeElement#getEnclosedElements() as specified in the .java file if
possible (as defined in the Javadoc)

Change-Id: Ice734cdf2d8e77587e7010cce96b877440117494
Signed-off-by: Andreas Gudian <andreas.gudian@gmail.com>
Batch 2 of changes for Bug 447579 - [1.8][compiler] Poly expressions
APIs need unification
Fix for [Bug 381392] [1.5][search] for references to overriding method
with bound type variable doesn't work across projects