Rewrote furnace recipe parser

* Fixes #110
std::stoi is C++11