Support cast String to double and Double class. Added test.
Added MotisValidationTypes
Added cast String to long and Long class. Added test.
Added cast String to boolean and Boolean class. Added test.
Minor changes.