Override cpu/total and memory/total from hints

Lots of chef recipes use CPU core count or memory limits for tuning; this allows you to directly inform ohai what you have allocated by using hints json.