Network Handlers, delete model support, more.

Added general api handlers for networks.
Removed IP routes as I expect /networks to be the interface
Generalized delete support
Added some tests to verify foreign keys work as expected
Added foreign key pragma to sqlite connections
Moved attribute name into model validator and fixed tests