Bug 877130 - Fix bogus assert, r=djvj.
Bug 872981 - Print a warning whenever something attempts to store more than 4kb of preferences. r=bsmedberg