Adds edit and update actions to non-ajax version

Also updates JS method putItemAttribute to not use a relative path
in case the urlbar is not at the root of the website.