Better building

* States now get an id ("postal")
* States keep a reference to the country (property "country")
Fixed frontend problems caused by changed data

Adapted front end to work as before with data changed in last commit.