added error handling of HAR parsing errors;
added status non-zero exit codes for errors cases.
Merge pull request #6 from yarikos/master

error handling of HAR parsing errors and  non-zero exit codes