Fixed input type number elements to take correct default values on loading card
See previous commit
Added jquery ui library to do modal dialogs and styling of forms consistently. Commonalized the load image bytes. This should become a jquery plugin eventually I suspect. Adding decks now works correctly although the page isn't dynamically updated and editing isn't done at all