Add license and nuspec, plus minor changes

Add bsd license to code
Add nuspec file to publish package
Add instruction in exception, for better debugging
ScriptEngine now returns number of instructions processed