Add way to keep .class files in library jars for on-device compile use

Change-Id: I797d337837a03031814a3279e8bb258fdd635dea