Duration function for Incident Model

- created get_duration() function, which returns the length of the incident in seconds
- added unit test