add error types and apply for get TOML keys; fix parse bug on empty lines; load TOML reference examples and add basic test cases