Add dependency declarations

this ensures automatic reloading in dev mode
Add url maker

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