Initialise subtype to None, not ''
Change display_name defn to allow null
Use repr(val) instead of get_string_val
Move import of releases to check_version
move current user_row_id from 'form' to 'session'
Change sql statement to a form that SqlServer supports
Get user_row_id from context, not from session
Tidy up various field handlers