Add app template
Merge pull request #49 from msushkov/master

Changing Imply() syntax of smoke example to reflect updates.
Add inference to template
Add sample NLP extractor
Adding gnuplot script for calibration plots
Merge branch 'gnuplot-new' of github.com:msushkov/deepdive into msushkov-gnuplot-new
fix calibration plot
Maxlength flag for document parser
Let the database assign the ID
Fix for NLP parser.
Add debug output to NLP parser
Multithreaded NLP parsing.
Update Smoke example to automatically set PGUSER and PGPASSWORD
Update OCR example to automatically assign username and password.
Output how many workers we are still waiting for.
Add spouse example.
Fix postgres spec to not rely on ID
Don't overload processes with data. Wait for them to write it to stdin.
Let JDBC be smart about how many records to fetch at once.
Fix template app home.