Validate input of coordinates field

I have seen a small bug: when a user types a random string in the coordinates input field, it causes an unhandled exception (error 500). I have added a check to generate a form validation error instead. Also i have added a check in the widget, in case of the field in database is corrupted, so that the widgets handles it gracefully.