Added model.build for easier building

Now, instead of

    Builder.build(..., model, config)

it's possible to do

    model.build(...)

which is much shorter. The config is no longer passed into all
of these functions, as we don't use it yet; instead, the
build_network function stores its config on the model, and restores
it to its previous state at the end.