catch and display all errors and fix linux and osx compatibility

fixes dotcypress/GitHubMarkdownPreview#9
fixes dotcypress/GitHubMarkdownPreview#10
Merge pull request #11 from dlech/master

catch and display all errors and fix linux compatibility