Add url maker

For building urls which cannot be built using the rails routing helpers
Link to the public case page for published cases
whitespace fixes