Added getEventsByRange().  Removed test.php from the source tree.  Did some other code cleanups.