Permit implementing captureEvent without having to link to Capture at buildtime.

This is useful for Python mode, or any other Java-compatible Processing that doesn't allow reflection on the sketch.
Fix some more javadoc in Capture.java.
Factor out code that fires the captureEvent.
Merge pull request #2527 from jdf/video2

Permit implementing captureEvent without having to link to Capture at buildtime.