Add ability to create/edit custom location data

@twymer
http://manage.dimagi.com/default.asp?147344
QA Passed!
(it looks mostly like indentation)