Gravar-mail: An Active Particle-based Tracking Framework for 2D and 3D Time-lapse Microscopy Images