Add replace and delete instance operations

This commit adds replace and delete operations to the instances table
view. Replace will do an http.post call on the given id. Delete will do
an http.delete call on the given id.