Fixed Add buttons for runs and samples
Fixed Edit button for runs and samples
Removed temporary files and made AddSamplesViewModel consistent with rest of code
Simplified Update method for runs and samples
Refactored ajax method to NgssmViewModel
Refactored Edit methods for runs and samples
Introduce hierarchy for add/edit/base
Added paging API
Added paging for Samples
Fixed issue with Samples Previous Page button
Merge branch 'bug4436_Runs_Buttons' to runs branch