Change borders events handling

Search for all events with at least half duration being present in the source.
Fix events with diff greater than 5*(median diff).
Dump version to 0.3
Ignore matplotlib in setup