More fixes to display of duplicates, should work now.
Moved routes mapping jsonprc services to classes into separate file
Fixed enabled state of buttons on duplicate view