Fixed small bug with as-function to convert strings to other datatypes.
(specialized as<std::string> and as<bool> functions were not called)
And simplified possible values for bool datatypes a bit, removed
on/off and yes/no, only true/false and 0/1 are now allowed.