Expression Parameter Type System

We added a system for defining what parameter types are allowed.
Currently you can use NONE (null, no parameter), STRING (a string) and
DOUBLE (every number). We also fixed the expression commands for the new
type system.