Fix 500 error for getting config is there is no config
Fix 500 when going to station page if there never was data

There should not be a link to that url, some people still try to go
there.
Throw a 404 instead of a 500 at them.
Return error to client instead of raising 500 error

The user should know what is going wrong.