FIxing some ClassCastException with InkAnalyzer (method parseValue)

When I tried to analyze a page for ink coverage, the "parseValue" method
was throwing some ClassCastException (Long to Double). It seems like the
DecimalFormat.parse method was returning Long values. It might be a windows specific bug.

n.b : the concerned test cases was also failing.