Bug 977611 - Use local storage for builds. r=catlee

--HG--
extra : amend_source : b35af138195fa632d8aed4010b22666791fc19e9
fixed merging conflicts
updated comments