Finished URL tests for views

* _plot_hash() now raises a 404 if instance lacks plot
* boundary_to_geojson() now takes an instance argument and raises a 404 if instance lacks boundary