eat: Use /cache if possible

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

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