Making trailing slash optional for laws in the API.  #387