Adds .json suffix to each route

This fixes an issue where clients were expecting most (all?) routes to
be able to have a .json suffix.
Removes .json suffix from networks/subnets routes
Fixes test and removes some un-used imports
Merge pull request #74 from sudorandom/json-extention

Adds .json suffix to each route