Add Piecewise PVF to R webservice

- Fix bug with empty matrixes being coerced to logical(0)
Different naming for MACBETH preferences
Allow problem to be loaded from local file