Consistent command error handling

All write commands that .reportError now use the proper error handling.
Fixed API keys after merge errors
Merge branch 'New3' of https://github.com/fitzchak/ravendb into new3