physics, parser, input: transition to non-static options

This code filled my dmesg with the most amount of segfaults I've had in ages. But it's stable once done right. Just like Lua's API. There is still the problem of not free()ing the options memory upon quit, but a simple deinit function will take care of that.