Added path grouping.
Simple path object creation function.
Added filtering paths by duration.
Moved filtering to a method which allows Nones.

If a filter criteria has None as its value, that filter
isn't applied to the contours, allowing you to opt out of
the ratio or perimeter etc filters.