Fix job success determination.

Number of commands was getting zeroed, and never getting incremented
during the run.
Merge branch 'master' of https://github.com/winder/Universal-G-Code-Sender
Manual merge of estimation changes

Estimation using GRBL simulator (tweaked build with buffering disabled).
A lot of little things changed so that the file is preprocessed only
once. Alignment of command state updates to the UI are also fixed. The
estimation changes will only work for x86, so will need to be adjusted
before suitable for merge to master.
Remove stray references.
Another left-over reference
Changes to build under NB

These should only be the changes required to use StringUtil. There are
other changes in my local environment to include rxtx files in my
environment that are excluded from this commit.
Fix case where failed connection allows estimation to run on file load
Short out estimation

Just until support is added for cross-platform and multiple GRBL
versions.
Merge branch 'master' of github.com:winder/Universal-G-Code-Sender

Conflicts:
	pom.xml
	src/com/willwinder/universalgcodesender/gcode/GcodeParser.java