support locale param in form data during update.

if locale data is not passed in form data check in query param and
finally assign 'en' as default.
support locale column on load_messages.

improved script a bit, now it will try to match field data based on the
name of the columns.