fix(errors): fix conditional test to see if there are any errors
chore(*): moved restify to peerDependencies
docs(*): added installation and usage documentation