Track->calculateKeyDifference() implemented
Fixes #7: arithmetic bracketing in wrong order; PHP modulus operator works differently than expected when dealing with negative numbers