WIP implementing the data entry UI

style fixes, enforcing consistency with common methods,
incorporate database upgrade to allow editing records
without a primary id (classification and alpha numeric entries),
more jquery fixes