Add LocationForm and LocationWindow
Move duration calculation to Recording class

It's useful outside of the RecordingForm widget.
fix location id property type