Added a more generic definition for DisplayedTaskVariable.
Added tests for parsing DisplayedTaskVariable.
Added tests for DisplayedTaskVariable.getScriptReplaceConstant().
If a variable is used multiple times in a task, the one with a detail is displayed to the user.
Refactored TaskVariableQueryDialog (currently assumes everything to be a string).
Added support for bool variables.