Fix qty in keyboard bindings to have single decimal place

Also, the foreign key relationship between keyboard bindings and stock
lines is missing in legacy databases!  Create it in the update script.