Added basic JSON config-files support to the AllocationFilter transform

This is a clone of https://codereview.appspot.com/149730044/ , it's just that I can't use this one because I'm not the owner (and Alfonso's gone).

BUG=
R=chrisha@chromium.org

Review URL: https://codereview.appspot.com/153280044