Fixes Restler to remove the trailing slash from path. Closes #311