added class anim for brokenlineoptimizer.

this involved significant refactoring of the optimizer so that
the calls can be done from within the anim class.
added Anim class to optimizer, many opt fixes!

Added a Anim class which uses awt to animate the optimization process.
It follows the iterations and paints each one after the other (with
both the rectangles and the already selected points).

In the process refactored the optimizer code to use a Iterator, so
that it can be easily triggered from outside the class (as required
by the Anim class).

Also made a set of fixes in both the branch and permutations methods.
Lots of possible permutations were missing and the result was never
accurate.

Added lots of tests for the optimizer with basic files (3, 5 and 10
points), and others for branch and permutations.
added hashcode methods where equals is there, better equals for rectangleset.
added flightStart()/End() dummy methods (with 0, size()) as values.

Also started setting the alts in the Fix objects of the result
to 0, as we don't count on this part (it helps for comparisons).
added bruteforce optimizer (for reference only).
added usage of flightstart()/end(), added hashcode() to candidate and rectangleset.
separated performance tests (and added new ant target).
bug in flightend() usage.
adapted test not to consider alts in result.
used the proper constructor of rectangleset.
added usecount for rects in permutations.

the goal is to take into account the number of fixes in the rect,
so that we don't allow permutation entries where the rect is used
more often than the number of fixes it has.

tests with the usual sample flight gave improvements as in:
2TP: from 4.6sec to 3.9sec (avg)
3TP: from 89sec to 71sec (avg)

30% gain.
made number of points a cmd line arg.
added hashCode() to Fix.
logging msgs (using param logging).
enabled console logging
changed max test to check value counting point to point max.
renamed optimizers for consistency.
dropped unused test file.
added cache for final and largest diagonal calculations.
Merge pull request #9 from rochaporto/optimprov

Added branch / bound based algorithm for broken line optimization