add HTTP return codes for errors

* 500 for server error by creating / deleting / listing a snapshot
* 406 for invalid name