Add specs for automation engine's data type handling.
Fix automation engine to handle the data value based on its data type.
Merge pull request #265 from lfu/ae_engine_datatype

Fix automation engine to honor the data type.