support for configuration and better unicode handling in location fixture

http://manage.dimagi.com/default.asp?100728

adds a "code" field to the location type config UI, which is used for the XML tag.

also has built in setting of the code based on name that uses `unidecode` to choose smart defaults