Netlist construction from schematic

Fixes #118. There are couple of TODOs here that I would like some comments/suggestions on before this is merged, but thanks to the power of sharing, we now have netlist building in about 100 lines of code.
All methods, other than tests, should be written in camelCase.