added edit feature to gdal sources and more client source tests

After some rebase madness, I just deleted the old `edit_layername` branch and created a new one with the changes. Addresses https://github.com/mapbox/mapbox-studio/issues/620

/cc @yhahn