Move all ArrayDeque (API 9+) creations to Util.createQueue.
Change @TargetApi and SDK_INT comparison constants to named constants from Build.VERSION_CODES.