Fixed saving of fields when no changes have been made to existing values.
Added input validation to existing values to prevent invalid input
Modified to be more robust to invalid user input.
Moved common regexes to utils
Added support for parsing API urls as well as normal public_ids.  Allows showing images of recently uploaded images when form validation fails.