Add expires field to web UI

This adds the expires field to the web UI. Not much to say about it. I use the angular-ui bootstrap component DatePicker.

Had to mangle some faulty CSS which messed up the look of the datepicker.

I'm quite certain that timezones are not correctly handled. I'm not quite sure how we should do it so I'm deferring that for the future (tricky part is likely that client and web server is in different timezones, so we can't rely on the local timezone of the web server).

Fixes #599.
Okay, we could use $parent instead. Perhaps that's better. I've verified it works and it means we don't have to create another object in between.