Make global references for cached java objects, a requirement for using SDK 15 due GC changes for ICS. Was previously handled by native app glue.