Fixed a wrongly set `wait' flag that would deadlock the system
Big update on decision trees: Loading and evaluating them works

Decision trees created by algorithms such as Weka's J48 can now be loaded nicely into the prediction plugin (after they were converted into a suitable JSON format, see https://gist.github.com/fairlight1337/5366de28a6ae9316715d). Given a set of (dynamic) feature variables, the trees can be evaluated and can return any given leaf class value produced.