Cleaned public interface of the detector. Subsitute internal proerties with ivars for performance. Made explicit the cancellation of the training.
Fixed #148. Memory leaks produced for unreleased queues, unfireed initial pointers and somre iOS cf structures.