ScriptHandler asociates matchers and functions
Result is the interface with handlers and matchers

Instead of passing the script_name and data to handlers and matchers,
they are handed result objects, giving more flexibility.
Result is now a dumb class.

Parsing is done in script.parse_and_append_result.
JSON Encoder for Result.
Coding style changes.