test compiled result of hard_example.toml.

also update tomle api slightly to prepare for the toml-test's.
Added tomle_main to support escriptize tomle.