SPARQL-Update error handling

* queries that reference non-existent resources return 400 Bad Request
* fixing empty query error handling (all 400 Bad Request)
* adding ITs for these two cases

Fixes https://www.pivotaltracker.com/story/show/71903492