[797] Analyzer: make ScriptWidget APIs a bit more friendly

* Add pressed and released signals and script events to ButtonWidget
* Add support for scriptevents with arguments

Python:
* Overload print statement, can now be used instead of terminal.appendText()
* Access to storage data - lorris.getData(idx) and lorris.getDataCount()
* lorris.send() - alias for lorris.sendData()
* Fix terminal example

QtScript:
* print() - alias for appendTerm()
* alert() - alias for throwException()
* send() - alias for sendData()
* Access to storage data - getData(idx) and getDataCount()