Python-style empty last array item; improved error-handling; fixes; typos

A bunch of smaller tweaks. Haven't written testcases yet, will do later. And maybe the test should be extended to run against [BurntSushi](https://github.com/BurntSushi/toml-test/tree/master/tests)'s test set.