Fixed problem with Line:overlap() and added a test to catch it.
Refactored ImageTest into appropriate classes.

ImageTest current breaks the build; squarify needs a more user friendly
interface.