eat: Use /cache if possible

 * Check the size of /cache and use it if possible.

Change-Id: I72fecf3f8d2311c04e63fe81a7ca9a8a6a40419d
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_build into bam6