minor refactoring:
- name changes and changes to name capitalization
- added //MARK: comments
- renamed calls ending in Gesture that were not related to UIGestureRecognizer
- removed superfluous break calls
implemented basic event detection. Very clearly needs tuning.

-added some non-unit tests to our tests; lets us at least trigger our evaluator.
- time-related variables/constants are now declared as NSTimeInterval
- lots of commented stuff from the java files will be removed later