Added ability to flatten a list
List.indexOf returns null when item cannot be found.
List.flatten copies the comparator over.
Flatten accepts an optional comparator.
Added initial documentation.