Modify index.js to use restify errors
Update tests to use restify errors
Update Readme
Add .editorconfig