Errors

Please take a look on my implementation of errors feature in js-schema library.
This pull request should be treated as starter for discussion with you about errors API implementation.

I'm aware my implementation is far from perfect and not complete, but let's try to polish it together.


Please put a space after every 'if' and 'else'