Use when instead of custom checking
Minor fixes to javascript error handling
Make server executable
Allow for base64 encoded PDFs 

node document_parser.js --noparse --input ../../../examples/TestDocument1.pdf -o TestDocument1.base64

node document_parser.js --base64 --input TestDocument1.base64
Add Example button
Switch to TestFile5 for the example
Merge branch 'master' into develop

* master:
  Switch to TestFile5 for the example
  Add Example button

Conflicts:
	resources/public/scripts/main.js
Merge branch 'develop' of github.com:joelkuiper/spa into develop

* 'develop' of github.com:joelkuiper/spa:
  Minor javascruot fixes

Conflicts:
	resources/public/scripts/helpers/annotator.js
	resources/public/scripts/main.js