Don't compare QQmlScriptString before setting it.  There seems to be
a bug in Qt when getting the scriptString from QML that breaks
comparison.  Setting it does actually work though.  This fixes
issue #22.
Merge pull request #28 from kenvandine/scriptbehavior_fix

ScriptBehavior fix