Add check for low disk inodes

Factor out disk checking into it's own defined type and use that
everywhere.
Merge pull request #550 from alphagov/add-inode-check

Add check for low disk inodes