Fixed and improved 2013 SQL database

* Added CREATE DATABASE statement
* Tweaked tables structure and relations
* Fixed municipio/distrito/subdistrito ids