Change the CaptureTail ADT to a case object

It wasn't that long ago that I learned how to specify the type of a singleton object... Seems I'm always learning something new about Scala.