Fixed so #toArray(A[] dest) conforms to the same contract as
java.util.List
Refactored to Eclipse/OSGI packaging conventions