Added the endpoint to /masstruncate rest service

See https://jira.codehaus.org/browse/GEOS-6262