Reorganise work package HTML templates

This is preparation for introducing a) client-side routing b) removing Rails query edit view.