[541] Fixes for re-ordering additional and timeseries resources

Changed to use the name attribute when locating the __pos__ so that
it handled elements without an id set.  Removes the unnecessary . in
the class name and doesn't add an empty id field in the empty row.
Merge branch 'master' of github.com:datagovuk/ckanext-dgu